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
Mobile chrome iOS problem of scrolling to the very bottom of a long page, clicking to a new page that is shorter, and being already scrolled to the bottom.
#164
Open
adamatronix opened this issue
Jan 9, 2024
· 5 comments
Been working on a site using your boilerplate, and noticed an edge case which occurs when you scroll to the very bottom of a page on Chrome iOS, and click to the next page already scrolled down. The new page must be shorter than the one you are coming from.
I mean to the very bottom, a few pixels above it will work fine. But this is very noticeable for a user clicking the footer links.
I'm still troubleshooting, but I can assume the bottom browser UI may be interfering with something.
I tried going with manual scrollRestoration and always setting the scroll to 0, however that still has the issue.
The text was updated successfully, but these errors were encountered:
Upon further observation it's when the chrome browser ui is hidden and the next page is shorter. You scroll a bit up to make the UI appear and it is fine.
Unfortunately my e-commerce site is still in development, but I was able to recreate the issue on some of your e-commerce work. Please see the following video capture:
RPReplay_Final1704858124.mp4
Note that Login is a shorter page than Home, and that it will work fine when I scroll up a bit to reveal the browser ui.
@adamatronix I can't reproduce the issue, and I have both the iOS and Chrome versions that you have. Could it be a user preference preventing window.scrollTo from firing?
I'm able to reproduce this issue as well on chrome + iOS. It seems a little intermittent. The issue occurs quite consistently when I click on a link while doing the scrolling down motion.
Hi,
Been working on a site using your boilerplate, and noticed an edge case which occurs when you scroll to the very bottom of a page on Chrome iOS, and click to the next page already scrolled down. The new page must be shorter than the one you are coming from.
I mean to the very bottom, a few pixels above it will work fine. But this is very noticeable for a user clicking the footer links.
I'm still troubleshooting, but I can assume the bottom browser UI may be interfering with something.
I tried going with manual scrollRestoration and always setting the scroll to 0, however that still has the issue.
The text was updated successfully, but these errors were encountered: