select icon indicating copy to clipboard operation
select copied to clipboard

React Select

Results 191 select issues
Sort by recently updated
recently updated
newest added

I have observed that rc-select places the Menu only above or below the reference element, is there any support for lateral placement of Menu?. Can it detect the scroll boundary...

https://github.com/react-component/select/blob/fe1a13a6ccb9551e17fe7c8ea282bf5df907041d/src/BaseSelect.tsx#L348 In code, it use customizeRawInputElement.props.ref, but in line 794, it assignments to self by cloneElement. when i used, children is a ReactNode, it warn i should use forwardRef.when i...

官方文档和示例关于 OptGroup 的说明太少了,我发现 OptGroup 是故意被限制了嵌套使用,即 Select 只能支持一级分组。 在 src/utils/valueUtils.ts 第 54 行: ``` function dig(list: OptionType[], isGroupOption: boolean) { list.forEach((data) => { const label = data[fieldLabel]; if (isGroupOption || !(fieldOptions...

All the examples in the documentation still use React Class components. Does this plugin have a beta that can support React Function Component?

In cases while Select had an Option with label `''` (empty string) and value `0` the Select renders the `0` ![image](https://user-images.githubusercontent.com/1235286/209805939-d9dc5498-e368-4be4-8680-865ce42bbc1b.png) This hapens because of the code: https://github.com/react-component/select/blob/824383d6f45b2de5cb432437ce8bd9d0704c6a6f/src/OptionList.tsx#L339-L341 For context:...

**Demo:** https://codesandbox.io/s/exciting-bird-x7m1kf?file=/src/App.js **Steps to reproduce:** 1. Click to input, dropdown opens; 2. Click on first option; 3. Click to input again; 4. Click on second option; 5. Observe console output...

# Description When navigating the select component with keyboard + screen reader (i am using Screen Reader extension in Chrome, but issue is similar with all screen readers), the current...

# Description As it stand right now, the listbox is added to the DOM after the user interacts with the Select component. This is a problem because it will throw...

```diff arrowNode = ( ); ``` 我通过 createPortal 在后缀插入其他图标后,改变现有 `.ant-select:hover .ant-select-arrow:not(:last-child) {opacity: 0;}` 样式我可能需要自行维护 mergedAllowClear 变量,判断hover时是否存在 clear 图标,存在才隐藏。能否将这个变量传递给 arrow 图标,这样包装层可以减少很多代码 https://stackblitz.com/edit/react-x7atw3-ahj1vm

fix https://github.com/ant-design/ant-design/issues/49157