Skip to content

Commit

Permalink
fix(MdMenuContent): destroy keydown listener on Esc (#1766)
Browse files Browse the repository at this point in the history
* fix(MdAutocomplete): destroy keydown listerner on Esc

* feat(MdMenuContent): remove console log
  • Loading branch information
Samuell1 authored Jun 7, 2018
1 parent 0f82ace commit e460e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MdMenu/MdMenuContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
},
onEsc () {
this.MdMenu.active = false
this.destroyKeyDownListener()
},
getOffsets () {
const relativePosition = this.getBodyPosition()
Expand Down

0 comments on commit e460e58

Please sign in to comment.