New issue
Advanced search Search tips

Issue 860489 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Closed: Jul 12
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Wheel event not blocking scroll while smooth scrolling.

Reported by dev.fra...@gmail.com, Jul 5

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. create wheel event handler
2. block event via e.preventDefault() after scroll some distance
 (ie. if(window.scrollY >=300){e.preventDefault;})
3. smoothly scroll page with mousewheel

What is the expected behavior?
page scrolling should be stopped

What went wrong?
If scroll smoothly, page scrolling not stopping until you stop scrolling.

Did this work before? N/A 

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10.0
Flash Version:
 
Might be related to bug 692604
Labels: Needs-Triage-M67
Components: -Blink Blink>Scroll Blink>Input
Cc: vamshi.kommuri@chromium.org
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue!

@Reporter: Could you please share a sample test file/URL which helps us to triage the issue in a better way. Any further inputs from your end may be helpful.
Cc: sahel@chromium.org
I believe this is due to latching. You can only prevent default the scroll for the first wheel event when it is cancelable. Sahel, can you confirm this as you know better this area.
Owner: sahel@chromium.org
Status: WontFix (was: Unconfirmed)
>I believe this is due to latching. You can only prevent default the scroll for the first wheel event when it is cancelable. Sahel, can you confirm this as you know better this area.

More precisely it is because of async wheel events which was enabled at the same time with latching. Starting from M65 if the first wheel event in a scroll sequence is not prevented by default, the rest of the wheel events in the sequence are not cancel-able. This behavior is for improving wheel scrolling performance and is consistent with touchscreen scrolling.

Sign in to add a comment