react-select
react-select copied to clipboard
Fixes #3607 Input loses focus when removing value unless menu is open
This is a fix for #3607.
On mobile devices, whenever the menu is closed, removing an option from a MultiValue Select causes the input to lose focus. This forces you to tap on the input field again after removing some values before you can start typing again.
Instead of calling blurInput() we should be calling onMenuClose() since we want to close the menu and not blur the input.