-
Notifications
You must be signed in to change notification settings - Fork 492
[2.x] Browser "Back" button does not return to the previous page with prefetch on mobile devices #2122
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
Comments
Looks like the fix from the 1.3 beta did not make it into the 2.x beta yet https://github.com/inertiajs/inertia/releases/tag/v1.3.0-beta.1 |
Just a bit curious why was v2 marked as stable without bug fixes from version 1.3 @NicolasKion |
Yes @ramonmalcolm10 it is weird, also this issue is not fixed neither these PRs (inertia-laravel & inertia), since it is a really important fix. |
Happening in Edge on iOS (iPhone/iPad) also. Prefetch was not added as attribute to my inertia links Works as expected in Safari and Firefox on iOS for me. |
Seems it impact all browsers on iOS with the exception of Safari. |
I am seeing that this issue was fixed / closed and released on v2.02. I am running v2.06 and am still unable to navigate using the back button in Chrome/Edge on iOS. Does this continue happening to anyone else? |
Yes I still experience the issue. |
Versions:
inertiajs/inertia-laravel
version: 2.x-dev@inertiajs/react
version: 2.0.0-beta.3Describe the problem:
When using Inertia JS v2 on Chrome with an iPhone, I noticed an issue with navigation when using the prefetch feature. After navigating to a new page and clicking the browser "Back" button, it does not return to the previous page as expected. This behavior occurs consistently on this device and browser combination. I haven't tested this without prefetch or on other devices/browsers.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: