visionmedia / uikit

UIKit - modern ui components for the modern web

Home Page:http://visionmedia.github.com/uikit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hide fired twice wne using overlay

pgherveou opened this issue · comments

I just tried this code from the demo page adding overlay caused the event to be fired twice
Didn't check why yet, any idea ?

new ui.Dialog({ title: 'Title', message: "I'm a simple dialog" })
        .closable().overlay().show().on('hide', function(){console.log("hide")})

hmmm could be that most recent commit that I merged, looks fine to me, ill have to write some tests for that