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

TypeError: Cannot set properties of null (setting 'innerHTML') #236

Open
thepacketloss opened this issue Mar 31, 2024 · 2 comments
Open

Comments

@thepacketloss
Copy link

When v-stage component mounts I get this error in browser console and it only happens in dev environment and it does not happen when I build the project :

vue-konva.js?v=5ad2e738:46876 Uncaught (in promise) TypeError: Cannot set properties of null (setting 'innerHTML')
    at vue-konva.js?v=5ad2e738:46876:43
    at vue-konva.js?v=5ad2e738:27982:158
    at callWithErrorHandling (vue-konva.js?v=5ad2e738:25392:23)
    at callWithAsyncErrorHandling (vue-konva.js?v=5ad2e738:25399:21)
    at hook.__weh.hook.__weh (vue-konva.js?v=5ad2e738:27964:23)
    at flushPostFlushCbs (chunk-TQCBFGB5.js?v=5ad2e738:1817:41)
    at flushJobs (chunk-TQCBFGB5.js?v=5ad2e738:1855:5)

Package versions :

Vue : 3.4.21
Vue-konva : 3.0.2
Konva : 9.3

@kkparkclouflake
Copy link

May #233 (comment) can resolve this issue.

@UTing1119
Copy link

@kkparkclouflake thanks I try it and it works
will you open a PR?

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

No branches or pull requests

3 participants