react-component / select

React Select
https://select.react-component.now.sh/
MIT License
892 stars 452 forks source link

Select 自定义下拉面板, 当点击面板中的按钮+号时, 会丢失 搜索值 #947

Open vaynevayne opened 1 year ago

vaynevayne commented 1 year ago

https://stackblitz.com/edit/react-djm2de?file=demo.tsx

https://stackblitz.com/edit/react-13vdsn?file=demo.tsx

Steps to reproduce 输入 1, 然后点击 下拉面板中的 号

What is expected? 点击 号, 不要清空搜索值

What is actually happening? 点击 号, 搜索值被清空了

antd issue: https://github.com/ant-design/ant-design/issues/42933