Skip to content

reading 'on' problem #45

Description

@bluelemonade

when the component is initalized I got

TypeError: Cannot read properties of undefined (reading 'on')
    at Proxy.attachEvents (vue-panzoom.esm.js:68:1)
    at Proxy.mounted (vue-panzoom.esm.js:32:1)
    at eval (runtime-core.esm-bundler.js:2739:1)
    at callWithErrorHandling (runtime-core.esm-bundler.js:157:1)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:1)
    at hook.__weh.hook.__weh (runtime-core.esm-bundler.js:2713:1)
    at flushPostFlushCbs (runtime-core.esm-bundler.js:343:1)
    at flushJobs (runtime-core.esm-bundler.js:397:1)

when I load the component inside a router view the first time it is broken, when using another view before the component shows the component!

is there a workaround to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions