Open zerooverflow opened 8 years ago
Touchstart event isn't often listened by the event listener for the close button wrapping remodal in angularjs application.
We resolved adding a touchstart event listener within the click event listener:
remodal.$wrapper.on('click.' + NAMESPACE + ', touchstart.'+ NAMESPACE, '[data-' + PLUGIN_NAME + '-action="close"]', function(e) { e.preventDefault(); remodal.close(); });
Forked source here : https://github.com/SimoneBuono/Remodal/blob/master/src/remodal.js
Touchstart event isn't often listened by the event listener for the close button wrapping remodal in angularjs application.
We resolved adding a touchstart event listener within the click event listener:
Forked source here : https://github.com/SimoneBuono/Remodal/blob/master/src/remodal.js