@inertiajs/vue3 Version
2.2.19
Backend stack (optional)
Laravel 11.47.0
PHP 8.3.12
Describe the problem
When using smooth scrolling, the auto scrolling up does not work when navigating from a longer to a shorter page. When smooth scrolling is disabled, it goes to the top.
This issue is only present in Firefox.
I am using firefox developer edition 146.0b9
Steps to reproduce
Create a page that is longer then the other page, and enable smooth scrolling. On the longer page, place a Link at the bottom of the page linking to the shorter page. When clicking this link, you will stay at the bottom of the screen. If you place the same Link on the shorter page, it will navigate to the longer page and scroll up.
I have created a repository where this issue is present:
https://github.com/EmielCodes/firefox-scroll-bug
@inertiajs/vue3 Version
2.2.19
Backend stack (optional)
Laravel 11.47.0
PHP 8.3.12
Describe the problem
When using smooth scrolling, the auto scrolling up does not work when navigating from a longer to a shorter page. When smooth scrolling is disabled, it goes to the top.
This issue is only present in Firefox.
I am using firefox developer edition 146.0b9
Steps to reproduce
Create a page that is longer then the other page, and enable smooth scrolling. On the longer page, place a Link at the bottom of the page linking to the shorter page. When clicking this link, you will stay at the bottom of the screen. If you place the same Link on the shorter page, it will navigate to the longer page and scroll up.
I have created a repository where this issue is present:
https://github.com/EmielCodes/firefox-scroll-bug