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

fix: can't open selects inside modals on firefox #643

Conversation

jsladerman
Copy link
Contributor

not clear why this only happens on firefox, but it has to do with the built-in focus trapping of our modal not playing nice with the current Select component implementation

best workaround to avoid rebuilding the Select component (maybe with radix instead of react aria) for now seems to be just disabling modal focus trapping on firefox. not a huge deal (our old modal didn't really trap focus at all) but ideally we revisit this at some point

@jsladerman jsladerman added the bug Something isn't working label Sep 23, 2024
@jsladerman jsladerman requested a review from a team September 23, 2024 18:28
Copy link

linear bot commented Sep 23, 2024

Copy link

Visit the preview URL for this PR (updated for commit a0a29cc):

https://pluralsh-design--pr643-jake-prod-2651-selec-2g1nbiu2.web.app

(expires Mon, 30 Sep 2024 18:30:43 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 784914c934330f8d0a9fd65c68898b3988262b7d

@jsladerman jsladerman merged commit 07d4089 into main Sep 23, 2024
11 checks passed
@jsladerman jsladerman deleted the jake/prod-2651-selectdropdown-doesnt-work-on-firefox-looks-like branch September 23, 2024 22:32
@plural-bot
Copy link
Contributor

🎉 This PR is included in version 3.69.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants