dialog
dialog copied to clipboard
Dialog component
For now dialog causes memory leak as it does not remove it’s listeners. Probably it should have `.destroy` method, or something.
If we create multiple dialogs: ``` js var a = Dialog('a').escapable(); var b = Dialog('b').escapable(); var c = Dialog('c').escapable(); b.show(); ``` then `b` will not be closed by escape. That...
That is visible in demo. Fading out is ok, but fading in isn’t. BTW, possibly it’s reasonable to remove prefixes from style rules.
useful for high big height dialogs the code looks a bit tricky but it's really cross-browser, and it's difficult to add this feature without changing the code a lot (or...
it allows to close the dialog by clicking on overlay in this http://screencast.com/t/jdCEuPPlD88 areas, which earlier didn't work. I think it was a bug