select
select copied to clipboard
React Select
I have custom component for my dropdown container which is generated with `dropdownRender` prop When I click anywhere inside my dropdown container it causes to run onclick on parent elements...
fixes: #930
Vanilla HTML Selects standard controls allow for arrow keys up/down to select the previous/next option, and then when a user tabs, it keeps that selected option. This commit implements that...
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which Issue found here - https://github.com/testing-library/user-event/issues/1137 It's recommended to switch over to `event.code` or `event.key` instead - https://github.com/testing-library/user-event/issues/842#issuecomment-1019528148
我找了一下,组件目前没有这样的功能,是否可以加上这个新功能?
[select组件,mode="tags"时候,任意输入文字,失去焦点自动生成了tag](https://github.com/ant-design/ant-design/issues/43680) 新增: 增加配置项 ~~`tagsModeCommitOnBlur`~~`preventCommitOnBlur`,默认值为true。 功能: 默认情况下,处于`tags`模式下的select框在输入文字后失去焦点的时候会默认的`submit`,结果就是生成一个新的`tag`并记录tag。参考上述提供的issue,提供 ~~`tagsModeCommitOnBlur`~~ `preventCommitOnBlur`来实现当此配置的`value`为 ~~`false`~~ `true` 的时候,~~失去焦点不默认触发`submit`~~ 在任何模式下失去焦点的时候都会阻止`submit`行为,也就是不生成一个新的标签并且不记录,只有当点击候选框中的标签的时候才会生成。
i had a dropdown inside my scrollable container when I scroll until the bottom of dropdown , it loses the alignment https://github.com/react-component/select/assets/29811719/de4c04b0-1a12-496f-8d1b-8feb52ee6d4f and that's my props for alignment ` dropdownAlign={{...