0👍
Not all sure, but I see you’re using document.querySelector here, is there a reason why you’re not using:
this.$el.querySelector
You could also make use of Vue Refs of course, but maybe I have misunderstood your problem.
- [Vuejs]-How to blur component from interceptor
- [Vuejs]-Isn't draws vertical line on hover when I move cursor fast
Source:stackexchange.com