-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
ERROR: window.history.state is null #713
Comments
I have the exact same thing happening to my site. I assume its a global issue. |
did you manage to fix it? |
clicking on an anchor tag trigger this error.
I removed it and it fixed the problem. |
I think the error is related to this one. |
@andrewperoramas I had the same issue with scrollRegions and fixed it like this for now, in your app.tsx: if (!window.history.state) {
window.history.replaceState({ scrollRegions: [] }, '');
} |
I'll have to try that. |
I use SSR.
I use inertia v2
I use laravel octane
What's causing this? I can't see any fix in google.
The text was updated successfully, but these errors were encountered: