Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevent scrolling down while pressing arrow-down on MenuOverlay #1375
  • Loading branch information
wiadev committed Dec 8, 2017
1 parent 76a29ff commit f2a9982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/header/MenuOverlay.js
Expand Up @@ -297,6 +297,7 @@ class MenuOverlay extends Component {

switch(e.key){
case 'ArrowDown':
e.preventDefault();
if(document.activeElement === input) {
firstQueryItem && firstQueryItem.focus();
} else if(overlay) {
Expand Down

0 comments on commit f2a9982

Please sign in to comment.