-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
Bug 🐛Something isn't workingSomething isn't workingP3 TriagedIssue has been reviewed as part of legacy backlog grooming (project P3).Issue has been reviewed as part of legacy backlog grooming (project P3).Triaged: v4Triaged, to be implemented as part of Vanilla v4Triaged, to be implemented as part of Vanilla v4
Description
When the closeOnOutsideClick prop of the ContextualMenu is true, it should be explicitly checked that there is no modal open before closing the contextual menu on outside click.
This is because, with the current behaviour, a click inside the modal would be captured as outside click for the ContextualMenu, causing that to be closed, and since the modal can be a direct child of that ContextualMenu, it would end up being removed as well. See the problem more clearly in the following screen capture:
Metadata
Metadata
Assignees
Labels
Bug 🐛Something isn't workingSomething isn't workingP3 TriagedIssue has been reviewed as part of legacy backlog grooming (project P3).Issue has been reviewed as part of legacy backlog grooming (project P3).Triaged: v4Triaged, to be implemented as part of Vanilla v4Triaged, to be implemented as part of Vanilla v4
