Don't disable scroll when Select is open (for Style Guide) #481
maybebansky
started this conversation in
General
Replies: 1 comment
-
Looks like this is just how the Select Primitive works right now. radix-ui/primitives#1496. If it's just to showcase the component then maybe some of the workarounds in that issue could serve you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've set
defaultOpen={true}
on a Select element in my Style Guide page so I can demo how it looks when open.This works however the page scroll is disabled which I don't want in the Style Guide. Its doubly confusing as I have multiple Selects on this page which are open, so you need to close all of them to scroll.
Is there a way of disabling this behaviour? Or is there another way of demoing how the open state looks?
Beta Was this translation helpful? Give feedback.
All reactions