fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Dropdown selects an option when navigating with arrow keys

Open satbai opened this issue 9 years ago • 3 comments

Bug Report

  • Package version(s): 0.82.3

Describe the issue:

Dropdown component fires onChange event every time arrow keys are used to navigate through options. This causes problems in certain cases, e.g. wanting to fire an Action on selected option that re-renders the component.

Actual behavior:

Arrow down selects the next option.

Expected behavior:

Arrow down focuses on the next option, and enter key selects the option.

satbai avatar Jan 05 '17 22:01 satbai

@eliblock12 can you take a look? I agree with this; it should read it aloud in the screen reader, it should set focus to the item, but shouldn't change the actual selection until committing.

dzearing avatar Jan 06 '17 20:01 dzearing

This appears to be fixed in the module-css-update branch. Repros in master, not in module-css-updates. Closing as already fixed.

aleksandrjPersonal avatar Mar 06 '17 19:03 aleksandrjPersonal

Thanks! @aleksandrjPersonal or @dzearing or someone else who knows, which version will this be in (and available in production)? We had an accessibility run with a blind person and one of the pain points was that the selection happened before clicking enter (or space?).

satbai avatar Apr 05 '17 18:04 satbai