-
Notifications
You must be signed in to change notification settings - Fork 19
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
Guard and url params #32
Comments
Is there an update on this issue? |
Hi, no, sorry, not yet. we will see to this issue. |
@zevenbergm Unfortunately, the described issue cannot be resolved so far.
The UnloadGuard fully covers the navigation triggered by Jet API, as in such case, the actual URL of the page will be changed respectively and can be easily maintained. Still, the URL in the browser can be changed manually or with the buttons Back/Forward. We understand that this behaviour can be confusing and will consider the possible improvements for future updates, but for now, I'm afraid there is no feasible solution. |
I've a JET view which has two plugins: UrlParam and UnloadGuard. The app is using the HashRouter. The issue is that when I click the browsers' back button the parameter is directly removed before it even hits the UnloadGuard.
The UnloadGuard is implemented as follows (in the init method):
Example: The URL looks like '.../task/1'. After I click the browsers' back button the url looks like '.../task' and not awaits the UnloadGuard (as I expect).
How can I work around this? Any help is highly appreciated because I need this ASAP (as always...).
Thanks,
Martin
The text was updated successfully, but these errors were encountered: