Skip to content

Commit

Permalink
fix(VMenu): respond to keydown when using scoped activator slot
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Feb 27, 2019
1 parent d24f528 commit 1b4dbae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default {
}

if (getSlotType(this, 'activator') === 'scoped') {
listeners.keydown = this.onKeyDown
const activator = this.$scopedSlots.activator({ on: listeners })
this.activatorNode = activator
return activator
Expand Down

0 comments on commit 1b4dbae

Please sign in to comment.