on a webpage add a modal, in that modal add a button, add click-event to that button
In chrome:
Show a modal ok,
click on button, nicely triggered
In chrome with device toolbar toggled to a mobile device:
Show a modal ok,
click on button, NOT triggerd
Any suggestions ?
Someone have any suggestions?
According to this issue the click event isn't triggered when drag able is enabled on mobile.
As stated by Google, they've changed the behavior of passive event listeners only for window, document or body elements.
The fix is add { passive: true } to draggable touch events.
@Eleventiy Thanks for finding this, should i add it here:
?
Is this issue happening on android devices? (Still seems to work for me on iphone)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed.
It seems issue is still happening. I just try demo page http://vue-js-modal.yev.io/, last modal "Dynamic: Component Modal with modal params" on my Android phone and chrome device devtool.