Skip to content

Commit

Permalink
ContextualMenu: Prevent default when handling keydown events (microso…
Browse files Browse the repository at this point in the history
…ft#836)

* Prevent default when handling keydown events

* Update ContextualMenu.tsx
  • Loading branch information
T-Hugs authored and aleksandrjPersonal committed Feb 17, 2017
1 parent 34f0dec commit 3fc4055
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ export class ContextualMenu extends BaseComponent<IContextualMenuProps, IContext

if (ev.which === openKey) {
this._onItemSubMenuExpand(item, ev.currentTarget as HTMLElement);
ev.preventDefault();
}
}

Expand Down

0 comments on commit 3fc4055

Please sign in to comment.