New issue
Advanced search Search tips

Issue 643681 link

Starred by 4 users

Issue metadata

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



Sign in to add a comment

Replacing overflow content with non-overflowing causes unscrollable scrollbar to appear

Project Member Reported by bokan@chromium.org, Sep 2 2016

Issue description

Version: 54.0.2840.8
OS: Linux (probably not OS specific)

What steps will reproduce the problem?
(1) Load http://codepen.io/anon/pen/rrNdKj
(2) Click the button

What is the expected output?

The box with text shouldn't be scrollable.

What do you see instead?

The box with text can't be scrolled but does show a disabled horizontal scrollbar. 

Note, this is a regression, it works correctly in 52.0.2743.116.

 
This technically didn't work correctly in 52.0.2743.116. It just worked in that example. It seems to be a pre-existing issues that just simply gotten worse with subsequent releases. I raised this case against version 52.0.2743.82:
https://bugs.chromium.org/p/chromium/issues/detail?id=633602

It looks like people have been raising issues like this one for about 3 years without a fix:
https://bugs.chromium.org/p/chromium/issues/detail?id=240772

Comment 2 by drott@chromium.org, Oct 3 2016

Cc: szager@chromium.org

Comment 3 by e...@chromium.org, Oct 18 2016

Cc: -szager@chromium.org
Labels: -Type-Bug-Regression Type-Bug
Owner: szager@chromium.org
Stefan, do you think your current batch of scrollbar fixes will address this?

Comment 4 by e...@chromium.org, Oct 18 2016

Cc: bokan@chromium.org
 Issue 675990  has been merged into this issue.

Comment 6 by e...@chromium.org, Jan 3 2017

Labels: -Pri-1 Pri-2
This has gotten slightly better in M56, the horizontal scrollbar still shows up but it is now disabled.

Comment 7 by ddiv...@gmail.com, Jan 13 2017

Even if its disabled, so it looks visually better, it is a pretty big issue for any application that needs to precisely know the height or width of a container. It makes it worse that it seems css recalculations can cause the scrollbar to switch axis, making client height/width near impossible to measure in those circumstances.

Comment 8 by ddiv...@gmail.com, Oct 12 2017

What is the status on this? The jsbin reproducer i posted in https://bugs.chromium.org/p/chromium/issues/detail?id=675990 still seems to have this bug.

Chrome Version Version 61.0.3163.100
64bit windows 7.

Clicking "change rows from..." still results in a useless horizontal scrollbar. toggling overflow still corrects the div.

Again, this means any application that relies on the exact client width/height of a div cannot rely on chrome's implementation of overflow and must manually control the overflow property, which is a decent bit of code to have to maintain.

Comment 9 by ddiv...@gmail.com, Apr 11 2018

Hey, I noticed this appears to be fixed. Should this get closed now? Seems the reproducer in this thread works as intended now.

Comment 10 by bokan@chromium.org, Apr 11 2018

Status: WontFix (was: Assigned)
Yup, looks like it's good now. 

Sign in to add a comment