New issue
Advanced search Search tips

Issue 632930 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Mouse wheeling over scroll corner causes area resize

Reported by n...@azuqua.com, Jul 30 2016

Issue description

UserAgent: 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.
 
Textarea.gif
183 KB View Download
Components: -UI Blink>Editing>Content
Labels: -OS-Mac OS-All
Status: Untriaged (was: Unconfirmed)
Hm, this behavior seems to happen when you have the cursor over the drag handle and focus is on the textarea. It does not happen (for me) with the cursor above the drag handle, only when it's directly over it.

Over to Blink>Editing>Content. Is this deliberate?

Comment 2 by tkent@chromium.org, Aug 5 2016

Components: -Blink>Editing>Content Blink>Layout Blink>Input
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>

Comment 3 by e...@chromium.org, Aug 10 2016

Components: -Blink>Layout Blink>Scroll

Comment 4 by bokan@chromium.org, Aug 11 2016

Cc: bokan@chromium.org
Labels: -Pri-2 Hotlist-Input-Dev Hotlist-GoodFirstBug Pri-3
Status: Available (was: Untriaged)
Summary: Mouse wheeling over scroll corner causes area resize (was: Textarea resizes when you scroll over the drag handle)
Definitely not intentional

Comment 5 by lunalu@chromium.org, Aug 29 2016

Owner: lunalu@chromium.org
If no one else is working on it, I'd like to take it over. 

Comment 6 by lunalu@chromium.org, Aug 31 2016

Status: Fixed (was: Available)
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.

Comment 7 by n...@azuqua.com, Sep 1 2016

Which version Chrome did you test on? I'm still seeing it in Canary 55.0.2846.4 canary (64-bit).


Comment 8 by bokan@chromium.org, Sep 1 2016

I can't repro on 54.0.2840.8 (Official Build) dev (64-bit) Linux. lunalu@, can you try Canary?

Comment 9 by n...@azuqua.com, Sep 1 2016

If it helps reproduce, I'm using a Macbook Pro with a trackpad. But get the same behavior using a mouse.
Thanks, I'll try that once I get to my MBP
Status: Assigned (was: Fixed)
Confirmed this does still repro on Chrome 55.0.2853.0 on Mac. lunalu@, ptal.
Status: Started (was: Assigned)
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).
Can someone please take a look at the CL: https://codereview.chromium.org/2340533003/

Thanks
Status: Fixed (was: Started)

Comment 16 by n...@azuqua.com, Sep 16 2016

Thanks for taking this lunalu!
Owner: loonyb...@chromium.org

Sign in to add a comment