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

[Popover] default enforceFocus to false to prevent issue with nested popovers #21012

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Apr 3, 2024

Summary & Motivation

Fixes: https://linear.app/dagster-labs/issue/FE-252/daggy-u-dialog-blocks-input-in-textboxes-during-serverless-nux

Nested blueprint popovers are buggy, blueprint recommends setting enforceFocus=false on the outermost popover in this case. We're going to set enforceFocus=false as the default instead of on a case by case basis to prevent further instances of the bug and because there hasn't been any case where we intentionally wanted to enforce focus.

How I Tested These Changes

With storybook

Copy link

github-actions bot commented Apr 3, 2024

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-a9alcaigh-elementl.vercel.app
https://salazarm-set-enforce-focus-false.components-storybook.dagster-docs.io

Built with commit 15ca9dd.
This pull request is being automatically deployed with vercel-action

Copy link
Member

@hellendag hellendag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎉 🎉

Worth sanity checking popovers through the app to make sure they're all behaving correctly.

@salazarm salazarm merged commit 4a425d0 into master Apr 4, 2024
2 checks passed
@salazarm salazarm deleted the salazarm/set-enforce-focus-false branch April 4, 2024 15:15
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

Successfully merging this pull request may close these issues.

2 participants