Incorrect container width calculated when a display:flex; parent has a position:sticky child.
Reported by
andyearn...@gmail.com,
Jan 4
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Steps to reproduce the problem: 1. Open the test case above 2. Hover over the grid 3. Scroll all the way to the right What is the expected behavior? As observed in Firefox and Safari, the container should not scroll past the end of the grid, which is actually a canvas that is re-rendered based on the scroll position of the container. What went wrong? The horizontally scrollable area of the container extends beyond the expected size, by exactly the width of the sticky element (the canvas, in this case). Did this work before? N/A Does this work in other browsers? N/A Chrome version: 71.0.3578.98 Channel: stable OS Version: OS X 10.13.6 Flash Version: If you switch the order of the container's children, then Firefox and Safari will render identically to Chrome. |
|
►
Sign in to add a comment |
|
Comment 1 by e...@chromium.org
, Jan 4Components: Blink>Scroll
Status: Available (was: Unconfirmed)