With the switch to scroll:top and scroll:anchor, we've lost the ability to distinguish top/anchor scrolling on the same page vs. top/anchor scrolling after a page load. Inside the scroll:* handler, there is no way of knowing if the scrolling is part of a visit or a same-page hash-scroll. This means that the animateScroll option is applied incorrectly.
Description of the issue
With the switch to
scroll:top
andscroll:anchor
, we've lost the ability to distinguish top/anchor scrolling on the same page vs. top/anchor scrolling after a page load. Inside thescroll:*
handler, there is no way of knowing if the scrolling is part of a visit or a same-page hash-scroll. This means that theanimateScroll
option is applied incorrectly.How to reproduce the issue
Set
animateScroll
to non-equal values: