New issue
Advanced search Search tips

Issue 613418 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 582358
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Scrollbar appears at wrong position on Mac w/ Retina displays in specific DOM conditions

Reported by da...@canva.com, May 20 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Example URL:
http://codepen.io/anon/pen/RamVbg

Steps to reproduce the problem:
1. A container has `overflow: visible` and `box-shadow` and `transform`
2. It has an inner div with `overflow: auto`
3. That inner div has a child with `position: relative`, and that child has a pseudo element with `position: absolute`
4. You are on a Retina display 
 
weird.gif
758 KB View Download

Comment 1 by da...@canva.com, May 20 2016

I used an emoji in the description, and it looks like it got cut off.

## Steps to reproduce the problem

1. A container has `overflow: visible` and `box-shadow` and `transform`
2. It has an inner div with `overflow: auto`
3. That inner div has a child with `position: relative`, and that child has a pseudo element with `position: absolute`
4. You are on a Retina display , and
5. Your Mac scrollbars setting is Show scroll bars when scrolling (or Auto and you use a trackpad)


6. You scroll. The scrollbar appears in the wrong position, but it can be interacted with at the right position.

GIF: http://i.imgur.com/2OxASsF.gif

CODEPEN: http://codepen.io/anon/pen/RamVbg
➜ Requires Retina Display to reproduce

## Expected behaviour

The scrollbar appears at the correct position.

## What went wrong

The scrollbar appears in the wrong position, but it can be interacted with at the right position.

Comment 2 by japhet@chromium.org, May 23 2016

Components: -Blink Blink>Layout>Scrollbars Blink>Scroll

Comment 3 by e...@chromium.org, May 23 2016

Cc: szager@chromium.org
Owner: skobes@chromium.org
Status: Available (was: Unconfirmed)

Comment 5 by bokan@chromium.org, Jun 9 2016

Mergedinto: 582358
Status: Duplicate (was: Available)

Sign in to add a comment