You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that with open and onOpenChange props of the antd dropdown it's possible to control the open/close behaviour and implement it
Yes it is, but messing with the open prop will lead to lots of troubles: basically meaning that we would have to re-implement from scratch everything that antd already does for open state management.
As far as I've seen while working on the component, if you start controlling the open prop you will be given full control over it and will have to manage all the available triggers as well. (also onOpenChange will become practically useless, as you already know when the "open" state changed, since it is you who have changed it).
Fix dropdown with multiple selection
The dropdown component with multiple selection needs some improvements:
A snippet of code for replicating the issue or showing the proposal usage if applicable
See storybook multiple highlight selection
The expected result for your bug
See Dropdown documentation
The text was updated successfully, but these errors were encountered: