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
I'm having an issue with the scrolling on navigation. On Firefox, clicking an InertiaLink results in the scroll-to-top behaviour not working at all (next page loads with the user still positioned at the bottom of the page), or only climbing halfway up the page.
Steps to reproduce:
Create page with some decent amount of vertical height.
Use a persistent layout
Use Firefox
Click an Inertia link
The text was updated successfully, but these errors were encountered:
Scroll position can fail to update in Firefox when setting it via `element.scrollTop` and `element.scrollLeft`. Change to preferring `element.scrollTo` with a fallback for the previous method to ensure backwards compatibility.
Resolves#1079
Scroll position can fail to update in Firefox when setting it via `element.scrollTop` and `element.scrollLeft`. Change to preferring `element.scrollTo` with a fallback for the previous method to ensure backwards compatibility.
Resolves#1079
Versions:
@inertiajs/inertia
version: 0.11.0@inertiajs/inertia-vue3
version: 0.6.0Describe the problem:
I'm having an issue with the scrolling on navigation. On Firefox, clicking an InertiaLink results in the scroll-to-top behaviour not working at all (next page loads with the user still positioned at the bottom of the page), or only climbing halfway up the page.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: