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
Really liked this component because it made it easy to implement a progress bar in my app. I ran into an issue where whenever I redirected through hooks.server.ts, the progress bar gets stuck. It was for route protection.
A user clicked a button and the button sent the user to a different page using goto() where the invalidateAll option is set to true.
In the hooks.server.ts it does all the checks and redirects the user to the login page
But the progress bar gets stuck in the running state. (so it keeps inching forward until it reaches the maximum length)
A way I found to fix this is to use afterNavigate to complete the progress bar.
Really liked this component because it made it easy to implement a progress bar in my app. I ran into an issue where whenever I redirected through hooks.server.ts, the progress bar gets stuck. It was for route protection.
A user clicked a button and the button sent the user to a different page using goto() where the invalidateAll option is set to true.
In the hooks.server.ts it does all the checks and redirects the user to the login page
But the progress bar gets stuck in the running state. (so it keeps inching forward until it reaches the maximum length)
A way I found to fix this is to use afterNavigate to complete the progress bar.
The text was updated successfully, but these errors were encountered: