You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing a similar issue, where browser's back and forward buttons mostly don't trigger the guard prompt. But in one instance it did, and not sure what was different.
Yes, I can confirm from my testing today that it does work in some cases (the URL changes, but the alert message triggers and if I click Cancel then routing is reverted and my state is intact) - but it doesn't work in some others... I wasn't able to find a pattern though :(
When using the useRouter from the next/navigation, navigation through the browser's back and forward buttons does not trigger the navigation guard
however it's working fine with Lniks and router.refersh
Thanks in advance!
The text was updated successfully, but these errors were encountered: