humaan / Modaal

An accessible dialog window library for all humans.
http://humaan.com/modaal/
MIT License
2.72k stars 183 forks source link

Overlay click to close not working on mobile - iOS #66

Closed danhumaan closed 6 years ago

danhumaan commented 8 years ago

The overlay click/tap to close on mobile doesn't appear to be working in iOS.

Will retest android during fix.

danhumaan commented 8 years ago

After some testing this appears to be an iOS bug relating to click events on div elements not registering. A fix has been worked in to add a cursor pointer event on detection of touch events which will enable iOS to see the click events (as per this stackoverflow)

This fix will be rolled out in the next release.