Skip to content

Commit

Permalink
Fix primefaces#1929: Dropdown ENTER key open panel
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Apr 27, 2022
1 parent 27cf6c7 commit 22c33e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const Dropdown = React.memo(React.forwardRef((props, ref) => {

//enter
case 13:
hide();
overlayVisibleState ? hide() : show();
event.preventDefault();
break;

Expand Down

0 comments on commit 22c33e0

Please sign in to comment.