Container with display:flex position:fixed and with inner container that has overflow: auto with long content looses centered alignment and sticks to the left
Reported by
mikhail....@gmail.com,
May 5 2016
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 Example URL: https://zello.com/test.htm Steps to reproduce the problem: 1. Create element with display: flex; position: fixed; 2. Create element inside this element with overflow: auto 3. Fill inner element with long text to cause scroll of overflowed content What is the expected behavior? Parent container should be displayed in the center all the time What went wrong? After inner container gets long content parent container sticks to the left and gets back to center only after next repaint (window resize, add element to dom etc.) Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? Yes Previous version Does this work in other browsers? Yes Chrome version: 50.0.2661.94 Channel: stable OS Version: OS X 10.11.1 Flash Version: Shockwave Flash 21.0 r0 |
|
►
Sign in to add a comment |
|
Comment 1 by cbiesin...@chromium.org
, May 6 2016Mergedinto: 605682
Status: Duplicate (was: Unconfirmed)