Akryum / vue-mention

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

Search interrupted after hit "space" #63

Open ykikot opened 2 years ago

ykikot commented 2 years ago

When I search by one word like @someone package working fine and its great! But when it comes to search @someone else, there is issues that not allow me to do that. Can someone tell me is there ability to do that? I investigate repo but did not fond anything useful. Or If I can participate on that solution - will be great.

yaroslav-pohil commented 2 years ago

Maybe there is an ability to stop searching when a user hits ESC instead of spacebar?

olemarius commented 2 years ago

When searching for actual names consisting of firstname lastname, search is in practice limited to firstname. Stop searching when user hits ESC is a better approach IMO.

Akryum commented 2 years ago

Will probably add new props to customize this :cat2:

olemarius commented 2 years ago

@Akryum created a PR https://github.com/Akryum/vue-mention/pull/75