Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template Ref watcher is not triggered with flush: post option in Vue 2.7. #12664

Closed
aki77 opened this issue Jul 15, 2022 · 1 comment
Closed

Comments

@aki77
Copy link

aki77 commented Jul 15, 2022

Version

2.7.6

Reproduction link

codesandbox.io

Steps to reproduce

Open the CodeSandbox and watch the console output.
There seems to be a problem when Template Ref watcher components are nested.

What is expected?

There should be a log entry for App.vue.

What is actually happening?

There's no log entry because the watcher is not triggered.


This works in Vue 3.

https://codesandbox.io/embed/modest-bash-u84i9q?fontsize=14&hidenavigation=1&theme=dark

JuniorTour added a commit to JuniorTour/vue that referenced this issue Jul 15, 2022
JuniorTour added a commit to JuniorTour/vue that referenced this issue Jul 16, 2022
JuniorTour added a commit to JuniorTour/vue that referenced this issue Jul 16, 2022
@fobdy
Copy link

fobdy commented Jul 23, 2022

Yeah, had the same issues while used useResizeObserver from @vueuse/core. It was working fine on 2.6 and stopped working on 2.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants