New issue
Advanced search Search tips

Issue 866921 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Resizable multiple select keeps scrolling down while resizing

Reported by teo8...@gmail.com, Jul 24

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Example URL:
http://matteosistisette.com/test/stupidchrome/resize-select/

Steps to reproduce the problem:
1. go to http://matteosistisette.com/test/stupidchrome/resize-select/
2. resize the multiple selector by dragging its bottom-right corner

What is the expected behavior?
It shouldn't scroll while resizing.
It should remain at approximately the same scroll position while you resize it. What exactly it means to remain "at the same scroll position" when a scrollable element's size changes may have slightly different possible definitions, but it's easy to specify a behavior that is acceptable and it definitely doesn't involve scrolling down continuously and indefinitely whenever the resize handle is being dragged.

What went wrong?
Whenever the resize handle is being dragged, the scroll bar scrolls down continuously at a constant speed, exactly as if you were holding the scroll-down arrow pressed.

It's embarassingly stupid and terribly annoying

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes I'm not entirely sure it's a regression, but I think it hasn't always happened

Does this work in other browsers? Yes

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 
Flash Version: 

In the meanwhile, Is there a workaround for those of us who own or manage a website and are not willing to torture our users (which in some cases may include ourselves), PLEASE??
 
Components: -Blink Blink>Layout>Scrollbars Blink>Scroll
Status: Untriaged (was: Unconfirmed)
I see this happening in Chrome 68 as well.  And it seems that if you just hold the resize area, the box slowly scrolls to the last entry and resizing no longer causes scrolling. 

But Firefox nightly doesn't scroll when resizing.
Owner: bokan@chromium.org
Status: Assigned (was: Untriaged)
It looks like if the resizing element is fully scrolled, no scrolling happens during the resize and the element stays fully scrolled after resize (regardless of shrinking vs. expanding). Otherwise scrolling happens trying to fully scroll the element while resizing.

bokan@ please take look, is this something that we want to change?
> is this something that we want to change?

Yeah, obviously! Why on earth would one want the element to gradually scroll down while being resized??
Cc: bokan@chromium.org
Owner: sunyunjia@chromium.org
Looks like we're inadvertently activating selection based autoscroll. I can trigger this with a quick movement on the first resize. A slow move (starting from the upper part of the resizer rect) doesn't repro. 

sunyunjia@, ptal. We shouldn't enter autoscroll when dragging from the resizer.

Comment 5 by sunyunjia@chromium.org, Yesterday (43 hours ago)

Cc: sunyunjia@chromium.org
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment