Menu
component: access uncontrolled opened
state from <Menu.Target>
#6965
mikhail-molchanov
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys. Awesome work done with the library!
Would it be an idea to let children of
<Menu.Target>
component access uncontrolledopened
state vie e.g. render function?Something like:
Could be helpful if target rendering depends on the
opened
state. At the moment, the only way I can think of is to use controlled menu, which feels a bit like an overkill for things like that.Beta Was this translation helpful? Give feedback.
All reactions