Skip to content

Redundant option highlight when opening the menu #1825

@omriavigdor

Description

@omriavigdor

Hi!

First, Thanks for this library!
The issue might be related in some way to #1087.

As an example, look at http://jedwatson.github.io/react-select/, your demo page.
Take the first select component for example.
Do this:

  1. click on the component -> the menu opens.
  2. the chosen value is highlighted as expected.
  3. hover on another option and move the mouse out of the menu horizontally, while keeping the hovered option highlighted still.
  4. click outside.
  5. the chosen value does not change.
  6. open the menu again.
  7. the chosen value is still the same, its option is highlighted, but the hovered option from step 3 is ALSO highlighted.

Expected: only the chosen option should be highlighted and bold when opening the menu.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetissue/reviewedIssue has recently been reviewed (mid-2020)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions