Replies: 4 comments
-
+1 on this one. Right now I'm hacking it by reversing the logic (showing open state when |
Beta Was this translation helpful? Give feedback.
-
@RobinMalfait a penny for your thoughts on programmatically controlling the component? |
Beta Was this translation helpful? Give feedback.
-
Initial state has now been implemented with Now, what adding a
I am thinking about Edit: |
Beta Was this translation helpful? Give feedback.
-
Related discussions: |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was wondering if it was by design or for other reasons that the
Disclosure
component is not able to accept an initial state (open/closed), and also offers no API to set the state programmatically, i.e. you can't create a closedDisclosure
, nor can you open it when the user clicks on an unrelated button for example.Is this something that is planned? Is this something that I could open a PR for?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions