Is it possible to disable scroll lock for the modal? #611
Unanswered
viorelbarbos
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I'm currently working on a project using the modal component provided by qwik-ui, and I've encountered an interesting challenge regarding scroll locking.
As you may know, when a modal is opened, it's standard practice to lock the window scroll to prevent users from scrolling the content behind the modal. While this approach helps maintain focus on the modal content, it can also limit user interaction with the rest of the page.
I'm exploring whether there are any possibilities to disable the scroll lock feature for the modal component in qwik-ui. This would allow users to scroll through the content behind the modal while it's open, providing a more flexible and user-friendly experience.
I've reviewed the documentation and settings provided by qwik-ui, but I haven't found any built-in options to disable scroll locking for modals. Before considering custom solutions or alternative modal components, I wanted to reach out to the community to see if anyone has encountered a similar scenario or has any insights on potential workarounds.
Thanks in advance for your input!
Beta Was this translation helpful? Give feedback.
All reactions