Symbol() of null on v-if true after false
See original GitHub issueSetting v-if to false removes element, but changing back to true returns: [Vue warn]: Error in directive frag inserted hook: “TypeError: Cannot read property ‘Symbol()’ of null”
TypeError: Cannot read property 'Symbol()' of null at eval (frag.esm.js?76e6:1) at inserted (frag.esm.js?76e6:1) at callHook$1 (vue.runtime.esm.js?2b0e:6680) at callInsert (vue.runtime.esm.js?2b0e:6619) at wrappedHook (vue.runtime.esm.js?2b0e:2235) at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854) at Object.invoker [as insert] (vue.runtime.esm.js?2b0e:2175) at invokeInsertHook (vue.runtime.esm.js?2b0e:6346) at VueComponent.patch [as __patch__] (vue.runtime.esm.js?2b0e:6565) at VueComponent.Vue._update (vue.runtime.esm.js?2b0e:3948)
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (10 by maintainers)
Yep, it is 🎉 Tested on my app where the error happened on 1.2.1-1.2.3 but 1.2.4 fixes it 😃
Thanks so much!
@3nuc It’s very helpful. Thanks for helping!
Will look into that one later today 👍
Edit: I’ve minimized the reproduction to this: https://jsfiddle.net/hirokiosame/hxqo85n2/