Skip to content

Template Ref watcher not triggered in Vue 2.7 #12569

@dm4t2

Description

@dm4t2

Version

2.7.0-beta.4

Reproduction link

codesandbox.io

Steps to reproduce

Open the CodeSandbox and watch the console output.

What is expected?

There should be a log entry.

What is actually happening?

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


This works in Vue 2.6 (with Composition API plugin) and Vue 3:

https://codesandbox.io/s/vue-2-6-14-template-ref-watcher-working-example-3fec25?file=/src/App.vue
https://codesandbox.io/s/vue-3-2-33-template-ref-watcher-working-example-nd1imp?file=/src/App.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions