Skip to content

Dropdown with placeholder - first option automatically selected on focus. #5473

Description

@chrismohr

Bug Report

  • Package version(s): > 6.25.1
  • Browser and OS versions: Chrome 67.0.3396.99, OSX 10.12.6

Priorities and help requested:

Are you willing to submit a PR to fix? Yes

Requested priority: Normal

Products/sites affected: Yammer

Describe the issue:

Starting in 6.25.1, the behavior of a Dropdown with a placeholder has changed. Previously clicking to open it would not change the value, now it does.

Actual behavior:

The first value is selected.

Expected behavior:

The placeholder continues to show.

If applicable, please provide a codepen repro:

https://codepen.io/chrismohr/pen/BVgXYv

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions