Releases: taion/scroll-behavior
Releases · taion/scroll-behavior
v0.11.0
- Breaking: Rename
addTransitionHook
to addNavigationListener
(#373)
- Breaking: Drop
addEventListener
polyfill (#374)
- This polyfill is now required for IE8 support
- Feature: Save scroll position on page unload and on non-
POP
navigations (#369)
- Chore: Add ES module build (#370)
v0.10.0
- Breaking: Use Page Lifecycle events instead of
beforeunload
(#344)
- This is not expected to break any user code; however, pages that use scroll-behavior should now work with the page navigation cache
v0.9.12
- Bugfix: Add
stop
method to TypeScript definition for ScrollBehavior
(#365)
v0.9.11
- Feature: Export TypeScript types (#287)
- Feature: Add API to pause scroll position saving (#306)
- Bugfix: Always save the initial scroll position (#293)
v0.9.10
- Bugfix: Restore old value of
history.scrollRestoration
before unloading page (#134)
v0.9.9
This release was published in error. It's the same as v0.9.8.
v0.9.8
- Bugfix: Do not attempt to set
scrollRestoration
when it is not writable (#127)
v0.9.7
This release was published in error. It's the same as v0.9.6.
v0.9.6
- Bugfix: Do not set
scrollRestoration
on iOS Safari to work around bug there (#129)
v0.9.5
- Feature: Make
scrollToTarget
part of the public API that can be overridden by subclasses (#125)