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: lock body scroll when using webkit #3399

Merged
merged 1 commit into from May 11, 2023
Merged

Conversation

OwsleyJr
Copy link
Collaborator

Description

Resolved an outstanding issue with Mobile Safari(webkit) that prevented the useLockBodyScroll from working. This was especially noticeable when a modal was open and you could still scroll. Adding touch action "none" to the hook fixes this issue.

  • Added touch-action: none to the useLockBodyScroll hook.

To-Dos

  • Successful build yarn build

@cypress
Copy link

cypress bot commented Mar 28, 2023

Passing run #1693 ↗︎

0 28 0 0 Flakiness 0

Details:

fix: lock body scroll when using webkit
Project: overseerr Commit: a552918ba9
Status: Passed Duration: 03:43 💡
Started: May 11, 2023 4:23 AM Ended: May 11, 2023 4:27 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@OwsleyJr OwsleyJr changed the title fix: prevent scroll when using webkit fix: lock body scroll when using webkit Mar 28, 2023
@OwsleyJr OwsleyJr force-pushed the fix/lock-body-scroll-webkit branch from 45b2446 to 401e2c2 Compare March 28, 2023 20:38
@OwsleyJr OwsleyJr force-pushed the fix/lock-body-scroll-webkit branch from 401e2c2 to ea1d586 Compare May 8, 2023 15:45
@OwsleyJr OwsleyJr force-pushed the fix/lock-body-scroll-webkit branch from ea1d586 to a552918 Compare May 11, 2023 04:17
@sct sct enabled auto-merge (squash) May 11, 2023 04:21
@sct sct merged commit c27f960 into develop May 11, 2023
8 checks passed
@sct sct deleted the fix/lock-body-scroll-webkit branch May 11, 2023 04:27
@github-actions
Copy link

🎉 This PR is included in version 1.33.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

lenaxia pushed a commit to lenaxia/overseerr-oidc that referenced this pull request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants