Fix when entire scroller is off-screen and then comes on-screen.
The fix is to always observe the entire container of elements so that if it comes onscreen, we sync. Also remove ResizeObversers on the elements as the cases it was defending against (suddenly expanding onto the screen) are covered by observing the container. Bug: 998480 Change-Id: I0c253453e0b2f642d686c7213a11d152c1f8330a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774008Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/master@{#691581}
Showing
Please register or sign in to comment