Chromium Code Reviews
DescriptionMake sure to save/restore scroll positions in finishDelayUpdateScrollInfo
Due to Flexbox's multi-pass layout, we may lay out children at
intermediate sizes that are very small, causing us to clamp the
scroll position at this small size. Once we lay out at the right
size, the scroll position is lost.
To avoid this problem, make finishDelayUpdateScrollInfo store
the old scroll position so it can be restored.
XXXXX THIS IS TEMPORARY XXXXX
The plan is to bake this on canary and merge this to M50 to
fix the release blocker and fix this the right way on trunk
(bug 600036), by delaying clamping of scroll offsets to after layout.
BUG=593209
Committed: https://crrev.com/ea799d37bd27d7ae346031a9332f542f7f57fd38
Cr-Commit-Position: refs/heads/master@{#384772}
Patch Set 1 #Patch Set 2 : . #
Total comments: 1
Patch Set 3 : better approach #Patch Set 4 : improvement? #Patch Set 5 : back to original approach for landing, will do real fix separately #
Messages
Total messages: 27 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||