history.scrollRestoration #1889

Open
ghost opened this Issue Sep 3, 2015 · 5 comments

Comments

Projects
None yet
6 participants
@ghost

ghost commented Sep 3, 2015

Unification of behavior, and ability to control, the scroll restoration behavior by the browser when using the history API (to prevent undesired automatic page scrolls on popstate, etc).

@cvrebert

This comment has been minimized.

Show comment
Hide comment
@Ugoku

This comment has been minimized.

Show comment
Hide comment
@Ugoku

Ugoku Sep 4, 2015

Contributor

+1

Contributor

Ugoku commented Sep 4, 2015

+1

@laukstein

This comment has been minimized.

Show comment
Hide comment
@nkronlage

This comment has been minimized.

Show comment
Hide comment
@nkronlage

nkronlage Mar 28, 2017

Contributor

Safari Tech Preview Release 26 added support for this property:

https://developer.apple.com/safari/technology-preview/release-notes/

Contributor

nkronlage commented Mar 28, 2017

Safari Tech Preview Release 26 added support for this property:

https://developer.apple.com/safari/technology-preview/release-notes/

@Schweinepriester

This comment has been minimized.

Show comment
Hide comment
@Schweinepriester

Schweinepriester Sep 22, 2017

Contributor

+1

Support in Safari & iOS 11 per https://webkit.org/blog/7956/new-webkit-features-in-safari-11/:

Support for history.scrollRestoration was added to give developers control over when to maintain scroll position when a user navigates back through browser history.

MDN: https://developer.mozilla.org/de/docs/Web/API/History#Browser_compatibility

Contributor

Schweinepriester commented Sep 22, 2017

+1

Support in Safari & iOS 11 per https://webkit.org/blog/7956/new-webkit-features-in-safari-11/:

Support for history.scrollRestoration was added to give developers control over when to maintain scroll position when a user navigates back through browser history.

MDN: https://developer.mozilla.org/de/docs/Web/API/History#Browser_compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment