You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/08 09:52:32 UTC

[GitHub] mesqueeb opened a new issue #490: Prevent tap to touch element during scroll

mesqueeb opened a new issue #490: Prevent tap to touch element during scroll
URL: https://github.com/apache/cordova-ios/issues/490
 
 
   **Expected behaviour:**
   Something that works really well in Mobile Safari:
   When scrolling and stopping the scroll momentum by tapping the screen once, no `@click` event is ever fired. Eg. `@click` on an element with VueJS. Or a simple button listener in vanilla JavaScript.
   
   **Behaviour on Cordova:**
   On Cordova, when stopping the scrolling momentum by tapping, a `@click` event is also triggered if the element underneath has an `@click` listener.
   
   See this gif below. I have a modal that pops up when you tap on a film. It does not pop up in Safari when stopping scrolling momentum. But in Cordova it does, making it reaaally awkward for the end user to browse through.
   
   ![scrolling momentum cordova](https://user-images.githubusercontent.com/3253920/50822615-79f96680-1375-11e9-8a2a-a9e6525f775b.gif)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org