Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow detection of non-intercepted ongoing navigations #266

Open
tbondwilkinson opened this issue Aug 9, 2023 · 0 comments
Open

Allow detection of non-intercepted ongoing navigations #266

tbondwilkinson opened this issue Aug 9, 2023 · 0 comments

Comments

@tbondwilkinson
Copy link
Contributor

For certain navigations like cross-document navigations, we have no ability to detect that they are occurring unless they are intercepted. It would be nice to additionally expose them as part of navigation.transition.

The workaround is to set a boolean that the cross-document navigation is occurring, but this requires also unsetting the bit on pageshow because we have no way to observe when the cross-document navigation has finished otherwise. Instead, checking navigation.transition would allow us to only reject traversals occurring a cross-document navigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant