You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside an Android Capacitor app, tapping the screen to stop a scroll in progress triggers the underlying HTML click event.
This can be especially apparent to users in a feed-based app such as Voyager.
Expected Behavior
Stopping a scroll by tapping the screen should not trigger underlying HTML click event handler. This is the behavior everywhere else (iOS Capacitor, iOS Safari, and Android Chrome).
Code Reproduction
The simple Ionic List example from ionic start (expanding the list with additional items so the view is scrollable) is enough to replicate. See test:
I can reproduce on a regular WebView without Capacitor involved and it's also an issue in react native WebView, so it seems the WebView behavior.
I couldn't find any method to control this, so I'm going to close the issue.
Hopefully some Google engineer answers on your chromium bug and provides more information, I've starred it.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
Current Behavior
Inside an Android Capacitor app, tapping the screen to stop a scroll in progress triggers the underlying HTML click event.
This can be especially apparent to users in a feed-based app such as Voyager.
Expected Behavior
Stopping a scroll by tapping the screen should not trigger underlying HTML click event handler. This is the behavior everywhere else (iOS Capacitor, iOS Safari, and Android Chrome).
Code Reproduction
The simple Ionic List example from
ionic start
(expanding the list with additional items so the view is scrollable) is enough to replicate. See test:https://github.com/aeharding/test-scroll
Video Reproduction
Demonstrating the problem running inside @capacitor/android web view
Notice how tapping the screen with a scroll in progress navigates to the email detail page.
IMG_3353.mp4
Demonstrating the problem does not exist running inside Chrome
Notice how tapping the screen stops the scroll and does not navigate to the email detail page.
IMG_3356.mp4
Maybe related?
The text was updated successfully, but these errors were encountered: