Why the focus of react-select always moves to the first element?

Viewed 130

Why the focus of react-select always moves to the first element even if the cursor is in another option?

I'm currently using version "react-select": "^4.3.0",

      <Select 
      defaultValue={[options[4], options[5]]}
      name="clothes"
      options={options}
      isMulti
      onChange={handleChange}
      />

How can I fix this?

0 Answers
Related