-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Bug Report] goTo vertical scroll does not work on iOS #6914
[Bug Report] goTo vertical scroll does not work on iOS #6914
Comments
@raybog I've been trying to debug a similar issue. It appears the goTo functionality only breaks if you're at the very top of the iOS safari window. If you move even 1px down, the clicks begin to work. I tested by opening the XCode Simulator and entering |
I'm having the same problem. Is there a solution? |
@haliloncen I tried merging some of the code from that PR into my local copy of Vuetify but it didn't seem resolve the issue (might have done it wrong). Because it was time-sensitive for me I just added a reliable package I've worked with before, vue-scrollto, which is very minimal in terms of config/markup. It's a shame to have to add more code to my vendor.js file but it's working! |
body.clientHeight === body.scrollHeight in iOS fixes #6914
I suppose this is not a solution. This is rather a... workaround... |
Versions and Environment
Vuetify: 1.5.9
Vue: 2.6.10
Browsers: Safari
OS: Mac OS 10.14.3
Steps to reproduce
On iOs device (any browser) or Safari (mac os) click any of the menus (one, two, three).
Expected Behavior
It should scroll, after menu click, vertically to the corresponding IDs
Actual Behavior
It does not scroll on, menu click, on iOs device (any browser) or Safari (mac os).
After scrolling the window down a bit then it works fine.
Reproduction Link
https://ww9nq0kq48.codesandbox.io
Other comments
Found problem in goTo function and sending trough pull request soon.
The text was updated successfully, but these errors were encountered: