Skip to content
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

iOS default scroll-to-top behavior seems to not work #425

Closed
filipjakobsen opened this issue Feb 16, 2022 · 1 comment
Closed

iOS default scroll-to-top behavior seems to not work #425

filipjakobsen opened this issue Feb 16, 2022 · 1 comment

Comments

@filipjakobsen
Copy link

Describe the bug
When tapping the top 40px of the screen in an app on iOS, the open app will scroll to the top. When doing this on a site I am making using overlayScrollbars, it seems like it does not work

To Reproduce
Steps to reproduce the behavior:

  1. Open a page using overlayScrollbars on an iOS device
  2. Scroll down on the page
  3. Tap the center of the very top of the screen (the top 40px of the screen where the status bar with the clock and battery appear)
  4. Notice how the page does not scroll to top of the page

Expected behavior
The page should scroll to the top

Examples
You can use this page on an iOS device to test: https://cdpn.io/pen/debug/wvPPeZx/8d2787285f08cc3eb9a9820ef6df5177

Environment

  • Used Operating System(s): iOS 15.0
  • Used Browser(s) (with version): Safari
@KingSora
Copy link
Owner

This should be fixed in v2 which released today. Please update to the latest version :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants