Mouse wheeling over scroll corner causes area resize
Reported by
n...@azuqua.com,
Jul 30 2016
|
||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce the problem: 1. Go to the demo textarea at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea 2. Align your cursor vertically with the drag handle 3. Slowly scroll down until your cursor goes below the textarea What is the expected behavior? The textarea should stay the same height. What went wrong? The textarea gets larger. Did this work before? N/A Chrome version: 51.0.2704.103 Channel: n/a OS Version: OS X 10.10.5 Flash Version: Shockwave Flash 22.0 r0 Replicated this in the newest version of Canary, but not any other browser I tried.
,
Aug 5 2016
This isn't specific to TEXTAREA. This is reproducible with the following URL. data:text/html;charset=utf-8,<div style="resize:both; overflow:scroll; width:100px; height:100px;">div</div>
,
Aug 10 2016
,
Aug 11 2016
Definitely not intentional
,
Aug 29 2016
If no one else is working on it, I'd like to take it over.
,
Aug 31 2016
I was trying to reproduce the problem locally, but it seems like it's working correctly in the latest Dev channel. So I will close this issue for now.
,
Sep 1 2016
Which version Chrome did you test on? I'm still seeing it in Canary 55.0.2846.4 canary (64-bit).
,
Sep 1 2016
I can't repro on 54.0.2840.8 (Official Build) dev (64-bit) Linux. lunalu@, can you try Canary?
,
Sep 1 2016
If it helps reproduce, I'm using a Macbook Pro with a trackpad. But get the same behavior using a mouse.
,
Sep 1 2016
Thanks, I'll try that once I get to my MBP
,
Sep 7 2016
Confirmed this does still repro on Chrome 55.0.2853.0 on Mac. lunalu@, ptal.
,
Sep 14 2016
Just an update: I fixed the problem and am currently writing some layout tests. The problem was caused by ScrollManager::handleScrollGestureOnResizer. It should be only resizing if the event source is from a touch pad (tap and drag should resize).
,
Sep 16 2016
Can someone please take a look at the CL: https://codereview.chromium.org/2340533003/ Thanks
,
Sep 16 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/28d25ce85ea355af02e766225fb6f8d79a5ed374 commit 28d25ce85ea355af02e766225fb6f8d79a5ed374 Author: lunalu <lunalu@chromium.org> Date: Fri Sep 16 18:13:47 2016 Fix issue with non-touchpad scrolling event over resizer: should not cause an area resize. BUG= 632930 Review-Url: https://codereview.chromium.org/2340533003 Cr-Commit-Position: refs/heads/master@{#419217} [add] https://crrev.com/28d25ce85ea355af02e766225fb6f8d79a5ed374/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-over-resizer.html [modify] https://crrev.com/28d25ce85ea355af02e766225fb6f8d79a5ed374/third_party/WebKit/Source/core/input/ScrollManager.cpp
,
Sep 16 2016
,
Sep 16 2016
Thanks for taking this lunalu!
,
Jul 18 2017
|
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by ellyjo...@chromium.org
, Aug 4 2016Labels: -OS-Mac OS-All
Status: Untriaged (was: Unconfirmed)