You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the codesandbox below. The web page should be able to scroll normally. Then click on one of the cards. It'll open a new page. Switch back to the sandbox page and you'll find the whole page can't be scrolled.
Seems like the scroll lock doesn't get released… Also I found this bug only occurs when preventScroll is set to true and in @use-gesture/react v10.2.13.
I think this bug was introduced by 6896094, which solves #485.
Describe the bug
Open the codesandbox below. The web page should be able to scroll normally. Then click on one of the cards. It'll open a new page. Switch back to the sandbox page and you'll find the whole page can't be scrolled.
Seems like the scroll lock doesn't get released… Also I found this bug only occurs when
preventScroll
is set totrue
and in@use-gesture/react
v10.2.13.I think this bug was introduced by 6896094, which solves #485.
Sandbox or Video
For preview: https://1b8n4s.csb.app/
With editor: https://codesandbox.io/s/late-sound-1b8n4s?file=/src/App.js
RPReplay_Final1652701134.MP4
Information:
Checklist:
touch-action: none
to the draggable element.The text was updated successfully, but these errors were encountered: