How to programatically close a child dropdown #1401
Unanswered
therealsujitk
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
-
Say I have a multi-level dropdown, I'd like to programatically close the child dropdown while keeping the parent one open. Trying to do it this way but for a variable bound to the second dropdown just closes both of them (I'm guessing this happens because the focus is lost).
Would love to hear any ideas on how to do this, additionally I'd also like to open a child dropdown programmatically, i.e. on button click it opens both the parent dropdown and the child dropdown at the same time (it should also support opening both individually).
Beta Was this translation helpful? Give feedback.
All reactions