Issue metadata
Sign in to add a comment
|
Animated or 3d transformed element affects position of sticky element
Reported by
corey.me...@gmail.com,
Dec 15 2016
|
||||||||||||||||||||||
Issue descriptionChrome Version : 54.0.2840.99 beta Windows URLs (if applicable) :https://jsfiddle.net/Ly68eq8w/4/ Other browsers tested: Add OK or FAIL, along with the version, after other browsers where you have tested this issue: Safari: Firefox:OK 49.0 Windows IE: What steps will reproduce the problem? An element [A] ... ... whose position is sticky ... whose container is body ... whose z-index is greater than 0 ... which contains an element [B] ... ... whose position is absolute ... whose top is negative An element [C] on the page that is animated or has 3d transformations applied. The following all trigger the problem: matrix3d, translate3d, translateZ, scale3d, scaleZ, rotate3d, rotateX, rotateY, perspective What is the expected result? [A] should stick to the top of the window with no gap when the page is scrolled. What happens instead? [A] is pushed down vertically on the page equal to the "top" amount declared on [B] Please provide any additional information below. Attach a screenshot if possible. https://jsfiddle.net/Ly68eq8w/4/
,
Dec 15 2016
Correction on Chrome Version: 57.0.2950.0 canary (64-bit) Windows
,
Dec 15 2016
,
Mar 15 2017
May be bug I found is related to this: http://codepen.io/seleckis/pen/mWBrEj Only in mobile Chrome: If any element inside sticky positioned element has transformation, like translate, sticky-elements changes position instead of transformed element. Although Chrome Web Inspector highlights sticky-element where it should be. If this is not related, I can open a new issue.
,
Mar 15 2017
This looks to me like another instance of us not using the content offset for the composited sticky position code - see issue 670274 . It should be fixed in M57 and as far as I can tell no longer reproduces, please re-open if I have missed something. Thanks. Re #4, it looks like the same bug. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by tkent@chromium.org
, Dec 15 2016