Skip to content

vnode.data.on is empty for custom components #11635

@posva

Description

@posva

Version

2.6.11

Reproduction link

https://jsfiddle.net/ck6qgezv/

Steps to reproduce

  • check the logs

What is expected?

Both should be able to log vnode.data.on

What is actually happening?

Only the component with a native event attached does


From vuejs/vue-router#3308

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