Why is there no Dropdown / Select with self-managed open state? #5473
Replies: 0 comments 3 replies
-
anyone here? |
Beta Was this translation helpful? Give feedback.
-
Ditto, due to this, I pretty much always make a wrapper to contain state and use that instead of the base component. |
Beta Was this translation helpful? Give feedback.
-
This is an old thread - i'm sorry. |
Beta Was this translation helpful? Give feedback.
-
All the
Dropdown
,Select
and their variations seem to require their consumer to manage the "open" state, it seems like a curious choice to me, as I would imagine it's the nominal use case to have these components on "open" state only when the user clicks on it, and closed otherwise.In my team we use a bunch of these components, and everytime have to manage the open state, one per Dropdown, in the parent. I'm thinking about writing my own generic intermediate, with something like:
but I wonder why this wouldn't exist directly in PF
Beta Was this translation helpful? Give feedback.
All reactions