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

Problem with automatic disabling body scrolling when Select is open, where this setting cannot be changed. shadcn ui #3276

Open
qwesmayn opened this issue Dec 6, 2024 · 4 comments

Comments

@qwesmayn
Copy link

qwesmayn commented Dec 6, 2024

I've run into a problem where I can't remove the automatic scroll lock when opening a menu. The documentation didn't say anything about this thing and its setting. I tried for a couple of days at least some option to disable the scroll lock and the only option was to remove the use. In the end I had to get into the root of the radix library and disable its use. Please make it possible to disable this function through props or any other implementation. Maybe I'm wrong and there is an add-on, hint if it really exists.

@qwesmayn qwesmayn changed the title Проблема с автоматическим отлючением скролла при открытом SelectMenu, где данную настройку нельзя менять Problem with automatic disabling of scroll when SelectMenu is open, where this setting cannot be changed Dec 6, 2024
@qwesmayn
Copy link
Author

qwesmayn commented Dec 6, 2024

I'm talking about Select here

@qwesmayn qwesmayn changed the title Problem with automatic disabling of scroll when SelectMenu is open, where this setting cannot be changed Problem with automatic disabling body scrolling when Select is open, where this setting cannot be changed. shadcn ui Dec 7, 2024
@danieldunderfelt
Copy link

Running into the same issue. Many components from Radix disable scrolling or set pointer-events none on body, and sometimes it gets stuck. This whole thing makes Radix pretty non-viable for me, and it would all be solved with a simple option to disable all this scroll locking and pointer-events none stuff.

@daniellesuper
Copy link

Also running into this issue here. does anybody have a temporary solution to enable scrolling on the body when the select content is open?

@phu130201
Copy link

Running into the same issue. Many components from Radix disable scrolling or set pointer-events none on body, and sometimes it gets stuck. This whole thing makes Radix pretty non-viable for me, and it would all be solved with a simple option to disable all this scroll locking and pointer-events none stuff.

How can you fix it, the same issues with pointer-events none too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants