RadixUI DropdownMenus don't auto-close when their trigger is inside ReactFlow custom node, any guesses or ideas anyone? #5805
Unanswered
dsign-phil
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To illustrate, with 3 ReactFlow custom nodes containing each one (in-house)
<Card>component which has a kebab-iconDropDownMenuTrigger, and having managed to open all 3 of those DropDownMenus:Typically these DropDownMenus auto-close as soon as one clicks outside of them. Same on a page with ReactFlow, unless that-click-outside was on another such DropDownMenuTrigger. The previously opened DropDownMenu doesn't auto-close here, but on our other pages with these very same in-house
<Card>components but without ReactFlow (and so, not within custom nodes), they do as a user would expect them to.Anyone have any ideas? Any toggle or prop that might help?
Beta Was this translation helpful? Give feedback.
All reactions