I have a page where the user can scroll horizontally the content, and in Chrome this scroll action sometimes triggers the two fingers back/forward swipe.
How can I deactivate this Chrome's function in a specific page, without disabling horizontal scroll?
Open up Chrome for Android and type “chrome://flags” in the address bar at the top. Once in the flags area, type “history nav” in the search bar. When you see the “History navigation with gesture” option, tap the box where it says “Default.” Tap on the “Enable” option.
After way too long, I discovered this:
html, body {
overscroll-behavior-x: none;
}
I have found that this chrome setting disabled the behavior: chrome://flags/#overscroll-history-navigation
Just disable overscroll, it will disable the page navigation using the scroll but normal horizontal scroll on the page will work. Tested on my end.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With