Delayed layout update: elements with margin:auto initially positioned incorrectly
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: kirill.bodunoff, Unassigned)
Details
Firefox for Android
Steps to reproduce:
-
Open the reproduction example:
https://codepen.io/Tech-Spark/pen/azZQdOd -
Trigger modal rendering.
-
Observe initial modal position.
Actual results:
Modal window initially renders aligned to the left side instead of centered.
After approximately 1–5 seconds, layout recalculates and modal moves to the correct centered position.
This causes visible layout shifting and UI flickering.
Expected results:
Modal window should appear centered immediately after rendering without any delayed layout recalculation.
Comment 1•7 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Reporter | ||
Updated•7 months ago
|
| Reporter | ||
Updated•7 months ago
|
Comment 2•7 months ago
|
||
A patch just landed in bug 2017440 which should fix this (in Nightly 149).
Description
•