Replies: 2 comments
-
@mhsfh Did you use <Disclosure>
<Disclosure.Button>🔽</Disclosure.Button>
<Disclosure.Panel>
<Disclosure>
<Disclosure.Button>🔽</Disclosure.Button>
<Disclosure.Panel>Lorem ipsum</Disclosure.Panel>
</Disclosure>
</Disclosure.Panel>
</Disclosure> Worked for my use case. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It would be nice to be able to control which disclosure a button is referring to. The example given by @lucgauer works for nested disclosures that intend to be independent from one another, but what if I want a button that controls the parent disclosure within the child disclosure? For example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
first of thanks for everyone contribute on this awesome project,
in some cases we need to create nested Disclosure like in side filter.
currently when i nest Disclosure and i click on Disclosure.Button child it close its parent of his parent
what i imagine as solution is passing id to Disclosure and passe the same id to the button so it will controle the right panel
make it possible to create instance of Disclosure
thanks
Beta Was this translation helpful? Give feedback.
All reactions