Akryum / vue-mention

Mention component for Vue.js
https://vue-mention.netlify.app/
MIT License
523 stars 54 forks source link

When mention contains '@' and we start to add another mention but delete it before choosing the popover doesn't close #76

Open MorCohenTipalti opened 2 years ago

samatcodeapprove commented 2 years ago

I believe I am running into this same issue: https://github.com/codeapprove/feedback/issues/49

Basically if I type the popover trigger twice in a row (## in my case) then there's a tiny one-pixel popover which remains open and eats the arrow-up/arrow-down key events.

Note: I am using Vue 2!

samatcodeapprove commented 2 years ago

@Akryum to fix the issue I was facing I forked the library and added && this.displayedItems.length > 0 to the handlers for ArrowUp and ArrowDown.