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

[Select] Opt-out focus trap for select #1602

Closed
aminick opened this issue Aug 8, 2022 · 1 comment
Closed

[Select] Opt-out focus trap for select #1602

aminick opened this issue Aug 8, 2022 · 1 comment
Labels
Resolution: Duplicate This issue is a duplicate

Comments

@aminick
Copy link

aminick commented Aug 8, 2022

I realized when SelectContent is shown, a global focus trap is applied to prevent any parent scolling.
Is there any way to opt-out that? I want to achive a more traditional UX, which is scollable parent and also with auto popover flippping.

I guess another topic it's about the design decisition towards the Select component, at least from the example, the UX behavior is very different from what i've seen from other libraries, such as HeadlessUI's Select, or React Select, wheres the SelectContent is almost always beneath the SelectTrigger

@andy-hook
Copy link
Collaborator

Hey @aminick, not currently, the original UX intent for the Radix select was to mimic the well considered MacOS experience as much as possible, though I understand why folk would like more flexibility here depending on the design.

With that in mind i'm going to close this issue as I think it's already well represented by #1247

@andy-hook andy-hook added the Resolution: Duplicate This issue is a duplicate label Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate This issue is a duplicate
Projects
None yet
Development

No branches or pull requests

2 participants