DescriptionUse inert-visual-viewport flag correctly.
With the inert-visual-viewport flag set, window.scrollBy and window.scrollTo
should only scroll the layout viewport. Found a logic error where we don't
check this flag before calculating current offset.
This CL also updates the visual viewport to only fire scroll event when the
inert-visual-viewport flag is off.
BUG=489206
Committed: https://crrev.com/b4aaa1da24bbd70c05694837a110a45147fa5c16
Cr-Commit-Position: refs/heads/master@{#357887}
Patch Set 1 #Patch Set 2 : inert scroll events for visual viewport #
Messages
Total messages: 8 (3 generated)
|