Skip to content

Commit

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

* Update ContextualMenu.tsx
  • Loading branch information
T-Hugs authored and dzearing committed Jan 26, 2017
1 parent b1d64a0 commit 179d155
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 179d155

Please sign in to comment.