New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 604182 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Dispatching wheel event does not cause scroll

Reported by a...@scirra.com, Apr 17 2016

Issue description

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

Example URL:
https://dl.dropboxusercontent.com/u/15217362/bugs/wheelbug.html

Steps to reproduce the problem:
1. Visit the URL
2. Click 'Send wheel event'
3. Observe if red box scrolls

What is the expected behavior?
Scroll the red box. This works in 50.0.2661.75 stable.

What went wrong?
In 52.0.2710.0 canary, no scrolling happens.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes 50.0.2661.75 stable

Does this work in other browsers? N/A 

Chrome version: 52.0.2710.0  Channel: canary
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0
 

Comment 1 by a...@scirra.com, Apr 17 2016

Workaround: adjust scrollTop instead, but this does not use smooth scrolling.
Cc: rnimmagadda@chromium.org
Components: -Blink Blink>Scroll
Labels: M-51 OS-Linux OS-Mac
Owner: dtapu...@chromium.org
Status: Assigned (was: Unconfirmed)
====================================

Good Build:

51.0.2694.0    Base Position: 383878


Bad Build:

51.0.2695.0    Base Position: 384157

=====================================

Able to repro this issue on Windows 7, MAC (10.11.4) & Ubuntu Trusty (14.04) for the Google Chrome Canary Version - 52.0.2711.0 

This is a regression issue broken in M51, below mentioned is the bisect info:

CHANGELOG URL: https://chromium.googlesource.com/chromium/src/+log/5d65a9ab045330320037ae1efc55be335aa1cabb..1c3b2280493caab10b498d3478078a84452e9bfe

Suspecting Commit: 1f6dc1b24dfb56e0199b851f1c121195e33f2bd6			

Review URL: https://codereview.chromium.org/1841053002

@dtapuska: Could you please look into the issue, and if it has nothing to do with your changes and if possible please do assign it to the concerned owner.

Thank you.
Status: WontFix (was: Assigned)
This doesn't work in Edge or FireFox. 

We did remove the default path for wheel events in https://codereview.chromium.org/1776843003 as a change that caused this regression.

However this is something that shouldn't work. The URI indicated relies on a behavior that Chrome executes the default action on untrusted events. This is explicitly disallowed in the DOM specification. And we are working to remove it completely.

For now; a keyboard event like pageup/pagedown/space bar will also adjust scroll; however it won't be for long. (and this doesn't work on other browsers). 

If you need an API to have scrollTop animate; file a feature request for an addition to window.scroll/scrollTo/scrollBy.

Comment 4 by a...@scirra.com, Apr 18 2016

dtapu@ - but overflow-scrolling DOM elements don't expose scroll, scrollTo or scrollBy methods - those only exist on Window. Should these methods be added to DOM elements too?
ash@; they are on this interface; https://www.w3.org/TR/cssom-view-1/#extension-to-the-element-interface 

I think perhaps you want  issue 243871 

Comment 6 by a...@scirra.com, Apr 18 2016

Didn't realise that, thanks. Will keep an eye on the other issue.
Labels: Hotlist-Input-Dev

Sign in to add a comment