Autodesk / Autodesk/hig

Dropdown is getting focus when it should not

Open
#1,840 0 comments 0 reactions 0 assignees View on GitHub
bug community
Dominant language
JavaScript
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

For slack conversation:

https://autodesk.slack.com/archives/C5FLF7R46/p1557153115075700

Hit `enter` while the focus is on another component, and the `Dropdown` gets focus when it should not.

To reproduce on HIG storybook:
Press `Shift + Tab` away from an in focus `Dropdown`.

![Dropdown_Focus](https://user-images.githubusercontent.com/10916624/57245430-deb58c80-7008-11e9-8309-c123c308ca23.PNG)

Contributor guide

Open the contributing guide

Research direction

Start with the Dropdown component and its HIG Storybook example, reproducing the issue by pressing Shift+Tab away from a focused Dropdown and pressing Enter from another component. Trace the focus change and verify that the Dropdown no longer receives focus when it should not.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.