JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.57k stars 4.12k forks source link

For multi-select options on iOS, while trying quickly select several options causes the delay #5783

Open loliwasabi opened 11 months ago

loliwasabi commented 11 months ago

For multi-select options on iOS, while trying quickly select several options without closing dropdown menu, what causes the delay. Therefore some options get deselected or selected randomly.

Code: https://codesandbox.io/s/react-select-v5-sandbox-forked-m55cdn?file=/MultiSelect.tsx

Incorrect behavior occurs on iOS (version 16.6.1) in Safari and Chrome browsers. There is no problem on Android.

Steps to reproduce:

  1. Open multiselect
  2. Quickly select multiple options.
  3. Make sure that some previously selected options have been reset.

Approaches have been taken: