Chromium Code Reviews
DescriptionMD Settings: Prevent flash of subpage when collapsing section
settings-subpage should never show its overflow.
In practice, AFAICT, its content only exceeds its boundaries during the
collapse animation when navigating back to the main page from a subpage.
The settings-section handles clipping for that collapse animation, so
we don't need "overflow: hidden" on the subpage. But when the collapse
the collapse animation finishes, we remove clipping from
settings-section.[1] The settings-subpage then becomes visible
over the rest of the page during a brief moment while it completes its
fade-out animation.
By setting a constant "overflow: hidden" on settings-subpage, we ensure
that its content does not overflow after the settings-section has collapsed
while the subpage is finishing its fade-out animation.
[1] This lets us show search bubbles outside the settings-section boundary.
BUG=716680
R=dpapad@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||