select
select copied to clipboard
Issues with deselecting in a select component where multiple items can be selected
What is the reason that the items don't get correctly deselected? The state gets updated which is highlighted by the updates in the dropdown but the items in the input field stay there when they get deselected. As you see in the gif above even the placeholder text comes back behind the items when they are deselected.
I cannot reproduce this outside of my project.
It should work like in the codesandbox below since I used exactly the same code and ant version in my project. All other ant components work fine. I also tried using rc-select instead of its antd variant or using only the example code in my project which is shown in the gif above.
https://codesandbox.io/s/yzcir?file=/index.js