DescriptionMD Settings: Prevent unexpected scrolling to section on popstates.
On subpage-backs or Browser back buttons, prevent the MainPageBehavior
from scrolling to the position of the last routes' section.
This makes section routes behave more like #anchorLinks.
BUG=640523
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/776eb73066021f12a815c669c73c4db433751d15
Cr-Commit-Position: refs/heads/master@{#416386}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix #Patch Set 3 : add test #
Messages
Total messages: 22 (14 generated)
|