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

Disable overscroll history navigation in Safari with JavaScript or CSS #141

Open
Lhasa23 opened this issue Apr 21, 2023 · 0 comments
Open

Comments

@Lhasa23
Copy link

Lhasa23 commented Apr 21, 2023

First of all, I'm sorry to bother you by asking this question and no matter the result is, I will really appreciate it.

In MacOS, I can use the touchpad two-fingers swipe to forward / backward the browser history navigation. I can prevent this event in Chrome by using below codes:

html, body {
  overscroll-behavior-x: none;
}

But it can't work in Safari, I noticed Miro drawing page prevents this event in Safari. I really wonder how to do it. Thank you a lot anyway. :)

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

1 participant