handlers depend on outer scope's value in nested slots are not updated
Version
3.0.2
Reproduction link
https://codesandbox.io/s/vue-handlers-bug-zzssi
Steps to reproduce
remove at key(1)
create at key(2)
What is expected?
the inserted item should be placed after key(2)
What is actually happening?
it is placed after key(3)
It can be assumed that index
is not collected as the dependency of the button-group
since when rendering it the value is not accessed.
What's more
it works in vue2 https://codesandbox.io/s/vue2-handlers-bug-xcp9j?file=/src/App.vue
@posva @yyx990803
The problem seems not to be solved?
The behavior still doesn't work as expected in the reproduction link.
Tried locally and this works correctly. @07akioni make sure to test locally next time! You can download a zip from codesandbox to make sure the correct versions are used, sometimes there are cache issues on CS
Tried locally and this works correctly. @07akioni make sure to test locally next time! You can download a zip from codesandbox to make sure the correct versions are used, sometimes there are cache issues on CS
You are right, I'm sorry for that. The problem is solved.
Next time I'll test it locally too. Thanks for your advice!