New issue
Advanced search Search tips

Issue 695917 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Decendents of children of sticky items push the sticky item over when they fall outside the sticky item's bounds

Reported by brad.kem...@gmail.com, Feb 24 2017

Issue description

Example URL:
http://jsbin.com/lazuviq/5

Steps to reproduce the problem:
1. Go to the URL listed in a desktop version of Chrome 56, and note the position of the dark header, aligned with the left edge of the window
2. Go to the URL listed in the Android version of Chrome 56
3. Note that the dark header has been pushed to the right by the width of #bar.
4. Note that the dark header has been pushed even farther to the right and towards the bottom by the box-shadow of #bar (box-shadow should have no effect on layout).
5. Turn off the box shadow (using dev tools or jsbin features) and see it affect the layout.
6. Change the position of the header from 'sticky' to 'relative' to see the correct position (before scrolling).

What is the expected behavior?
Unscrolled, everything should look the same as if the header had 'position:relative'. #bar should be mostly off-screen on the left. Plus, the red shadow should not affect the position of anything else.

What went wrong?
Both the shadow and the position of the abs-pos descendant are adversely affecting the position of the header element, on Android Chrome only. This is destroying layouts that work fine in Safari.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes 55, I think

Does this work in other browsers? Yes

Chrome version: 56.0.2924.87  Channel: stable
OS Version: 7.1
Flash Version: 

When I say it worked before, I mean it wasn't an issue before, because Chrome didn't have position:sticky before, and feature-testing it in JavaScript didn't result in broken layouts.

 
Owner: tedc...@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: tedc...@chromium.org
Owner: aelias@chromium.org
Cc: flackr@chromium.org smcgruer@chromium.org
Components: -Blink Blink>Compositing
Owner: ----
I can repro on 58.0.3012.4 / Android.
Status: Available (was: Assigned)
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 6 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: WontFix (was: Untriaged)
This no longer reproduces for me in Desktop mobile emulation nor in Canary on an Android device. That is, layout seems identical on all platforms.

Please re-open the bug if that is not the case.

Sign in to add a comment