-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Cannot calculate scrollTop in VUE IOS #403
Comments
Unfortunatelly, I think it's almost impossible to solve the problem because of limitation of iOS Safari. iOS Safari prohibits updating scrollTop during momentum scrolling, so we have to shift position of items, that will sometimes exceed the scrollTop 0. If we don't shift items, we will see glitch while reverse scrolling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I call up past chats using VList or Virtualizer and scroll up, the scrollTop appears to be 0 even though there are more actual elements, maybe because the IOS cannot calculate the scrollTop. And then, when the touch is stopped, the scrollTop is calculated again and the scrollTop is changed. This phenomenon only occurs on IOS Mobile and does not appear on AOS.
I think safeTop affects the calculation of scrollTop in IOS.
Expected behavior
Data with index number 1 should be shown when scrollTop is 0.
Platform:
The text was updated successfully, but these errors were encountered: