1👍
This is because the events are flowing like this:
keydown
renders the new component -> focus
moved to new component -> keyup
fires in new component (where is focus now) and character stays there.
Change the trigger to keyup
and it should work.
- [Vuejs]-Font awesome icons size jumps in first load of a static page with vue.js
- [Vuejs]-Vuetify Flex Layout – is not filling the height
Source:stackexchange.com