-
Notifications
You must be signed in to change notification settings - Fork 115
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
allow dialogs within deferred menus #2212
Conversation
🦋 Changeset detectedLatest commit: 5038511 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow what an interesting use-case! The code looks good, but I'd love to see some system tests for this 👍
@camertron added a system test! |
What are you trying to accomplish?
There are instances when one wants to render dialog contents deferred through the ActionMenu. Currently this doesn't work; it's buggy. The current behaviour is that the dialog flashes open, then hides because the ActionMenu itself closes. Re-opening the menu causes the Dialog to appear.
This is of course not ideal. We should enable this pattern to be expressed bug free.
/cc @jdennes
Screenshots
Here's the broken behaviour:
screen-recorder-thu-aug-17-2023-13-37-30.webm
Here it is fixed:
screen-recorder-thu-aug-17-2023-13-36-05.webm
Integration
No
List the issues that this change affects.
An issue hasn't been filed. This was from Slack.
Risk Assessment
What approach did you choose and why?
Anything you want to highlight for special attention from reviewers?
Accessibility
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.