Skip to content

Input loses focus when removing value unless menu is open, on safari for iOSΒ #3607

@karlingen

Description

@karlingen

On mobile devices, whenever the menu is closed, removing an option from a MultiValue Select causes the input to lose focus. This makes you having to tap on the input field again after removing some values before you can start typing again.

Steps to replicate

  1. Navigate to the repro link using Safari on an iPhone.
  2. Add a few options
  3. Tap on the input and make sure it is focused
  4. Remove one option by tapping the "x" button next to it and notice how the input is still focused
  5. Remove another option and notice how the input no longer is focused.

React Select v3.0.4
React v16.8.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-confirmedIssues about a bug that has been confirmed by a maintainerissue/has-prIssue has a PR attached to it that may solve the issueissue/reviewedIssue has recently been reviewed (mid-2020)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions