Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(router): Option to correctly restore history on failed navigation (
#43289) Exposes implementation from #38884 as a public opt-in option. From that commit: > We can’t determine whether the user actually meant the back or > the forward using the popstate event (triggered by a browser > back/forward) > so we instead need to store information on the state and compute the > distance the user is traveling withing the browser history. > So by using the History#go method, > we can bring the user back to the page where he is supposed to be after > performing the action. Resolves #13586 PR Close #43289
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters