DescriptionMake sure content offset gets updated
On Webapp, touch gestures are offset by the size of the toolbar, even when
the toolbar is hidden. This occurs because we assume that the previous
content offset can never be 0, ending up not calling
onVisibleContentOffsetChanged() callback.
We can fix it by initializing previous content offset as NaN.
BUG=459275
Committed: https://crrev.com/19f04a05b39e5586cba79eaba009ae675ca6aad1
Cr-Commit-Position: refs/heads/master@{#318974}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|