我有一组使用react-select包- https://react-select.com/home的react选择。我有一个组件,它包装了三个react-selects -基本上类似于: import Select from "react-select"
function SelectGroup(){空格键和enter键应该允许用户将焦点转移到下一个选择元素。箭头键应该允许用户转到下一个或上一个选择。因此,需要以某种方式<
我使用下面的代码来呈现一个多选择的react-select组件。但是我发现,当我在选择任何项目之前键入任何字符并保留焦点时,字符不会被持久化。import React from 'react';
import makeAnimated from 'react-select我输入f并将焦点移到其他组件上。然后,f将从select组件<