Skip to content

Commit

Permalink
fix(FEC-12235): accessibility: Not possible to change items for “Lang…
Browse files Browse the repository at this point in the history
…uage“ and “Settings“ by space key (#690)
  • Loading branch information
Tzipi-kaltura authored Sep 7, 2022
1 parent a41f978 commit c0b2473
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/dropdown/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ class DropDown extends Component {
case KeyMap.ENTER:
this.onClick();
break;
case KeyMap.SPACE:
e.preventDefault();
this.onClick();
break;
case KeyMap.ESC:
if (this.state.dropMenuActive) {
this.onClose();
Expand Down

0 comments on commit c0b2473

Please sign in to comment.