$nextTick don't work as expected #2282
Labels
has PR
A pull request has already been submitted to solve the issue
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
Version
3.0.0
Reproduction link
https://jsfiddle.net/shaan1974/rokqebcL/
Steps to reproduce
Just click on the Button "Change LG" and take a look into the console. "This" var ( line #17) inside the nextTick is the window object and not the current instance.
What is expected?
"This" should be the current instance
What is actually happening?
"This" is the Window object
To see how it's work with Vue 2 and 3 i'v created two fiddle.
Vuejs 2 ex => https://jsfiddle.net/shaan1974/qf4umgh2/
Vuejs 3 ex => https://jsfiddle.net/shaan1974/rokqebcL/
The text was updated successfully, but these errors were encountered: