vue-konva icon indicating copy to clipboard operation
vue-konva copied to clipboard

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

Open thepacketloss opened this issue 10 months ago • 3 comments

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

thepacketloss avatar Mar 31 '24 10:03 thepacketloss

May https://github.com/konvajs/vue-konva/issues/233#issuecomment-2078462301 can resolve this issue.

kkparkclouflake avatar Apr 26 '24 01:04 kkparkclouflake

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

UTing1119 avatar May 15 '24 08:05 UTing1119

I am facing this exact issue when using quasar with vue3. Has anyone found a possible solution to this?

iampawan31 avatar Jun 21 '24 06:06 iampawan31