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

fix: scroll-to-top in iOS when opens sidebar #2803

Merged
merged 1 commit into from Aug 17, 2023

Conversation

zonemeen
Copy link
Collaborator

@zonemeen zonemeen commented Aug 17, 2023

ios-scroll.mp4

Scrolling to the top of the document when clicking on the menu button to open the sidebar in iOS. It's a bug.
Since body-scroll-lock has not been maintained for a long time since version 4.0.0-beta.0. I think it's possible to downgrade to version 3.1.5 as many developers using this library verified the feasibility in willmcpo/body-scroll-lock#237.

image

Version 3.1.5 has more weekly npm downloads than version 4.0.0-beta.0.

IOS version: 16.3
Browser: Safari

@brc-dd brc-dd merged commit 3dab9a6 into vuejs:main Aug 17, 2023
7 checks passed
@zonemeen zonemeen deleted the fix/ios-scroll branch August 18, 2023 01:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants