NanoModal icon indicating copy to clipboard operation
NanoModal copied to clipboard

A small, self-contained JavaScript modal library with some extra features.

Results 7 NanoModal issues
Sort by recently updated
recently updated
newest added

I have a problem in mobile safari, the the click event on the modal buttons keeps the event bubbling, often triggering the modal to open again (because original trigger is...

The modal loads always at the beginning of the screen on top. I would change so that it always appears in the middle.

![screen shot 2016-04-29 at 11 47 48 am](https://cloud.githubusercontent.com/assets/392233/14923035/65689902-0e00-11e6-974a-da3607d5c742.png)

the position of the popups seems "hardwired" into the css and on long pages the popup may easily end up "out of sight". What would I do to ensure the...

I would like a dialog which returns with some predefined value after a short timeout if the user didn't click anything - is that doable?

I'm using a customShow as follows ``` javascript nanoModal.customShow = function(defaultShow, modalAPI) { defaultShow(); modalAPI.modal.el.style.display = 'flex'; modalAPI.modal.el.style['flex-direction'] ='column'; modalAPI.modal.el.style['max-height'] = 0.8 * el.node().parentNode.clientHeight; }; ``` This disables the the...

The Close button doesn't work anymore on the latest version of Chrome, nor clicking on the overlay around the modal. Works fine on FireFox though. To reproduce: On Chrome 42,...