inertia: Scroll position is not reset on page visits
Versions:
@inertiajs/inertiaversion: 0.11.0@inertiajs/inertia-vue3version: 0.6.0
Describe the problem:
Scroll position should reset after navigation.
After updating to the latest version of Google Chrome, this is no longer the case.
Steps to reproduce:
- Update to the latest Chrome. The issue was observed in version 102.0.5005.63
- Scroll down from the top of the page
- Navigate using the Link component or manual visit
- Scroll position is kept even though preserveScroll is set to false or not set at all
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (3 by maintainers)
Scroll position is still not reset in Firefox 108.0.2 and
@inertiajs/inertia@0.11.1Hey folks, I just deployed this fix as
@inertiajs/inertia@0.11.1. It was fixed in #1099.This is still a problem in Firefox 113 and
@inertiajs/vue3": "^1.0.0