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

Issue 787628 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

ghost scrollbar appears on div absolutely positioned inside a flex item when browser is zoomed

Project Member Reported by mmalerba@google.com, Nov 21 2017

Issue description

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

Steps to reproduce the problem:
See: https://jsfiddle.net/malerba89/82mjst4m/

1. Zoom the browser (in or out, both tirgger the issue)
2. Notice that a gap appears between the edge of the blue box and the edge of the red box (appears to be result of a "ghost scrollbar" as removing the overflow:auto; makes the issue go away)
3. Press the "Adjust header height" button and notice gap disappears

What is the expected behavior?
Gap does not appear when zoomed

What went wrong?
It looks like the browser is reserving space for a scrollbar even though no scrollbar appears, and then only removing it once something causes the layout to be recalculated.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.94  Channel: stable
OS Version: 
Flash Version:
 
Cc: thomasanderson@chromium.org
Components: Blink>Scroll
Labels: Hotlist-Google Needs-Triage-M62
Cc: sc00335...@techmahindra.com
Labels: -Type-Bug -Pri-2 Triaged-ET M-64 OS-Windows Pri-1 Type-Bug-Regression
Owner: szager@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce this issue on reported version 62.0.3202.94 and on latest canary 64.0.3275.0 using Windows 10 and Ubuntu 14.04 but not seen on Mac 10.12.1 using steps mentioned in comment#0. Hence providing reverse bisect info.


Good Build:58.0.3005.2 
Bad Build:58.0.3006.0

You are probably looking for a change made after 448731 (known good), but no later than 448732 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/c405416053b99aa4d6f98f3126608c660773f6b4..7b1e0cb2db282469b4b81f47d40ab45132a7ec0f

Review-Url: https://codereview.chromium.org/2672833004

Suspecting same from changelog.

@szager: Could you please confirm the issue and help in re-assigning if it is not related to your change.

Thanks!
szager@ any update on this regression?
Cc: -thomasanderson@chromium.org

Sign in to add a comment