You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using "Heading" extension, component won't unmount properly.
This is actually quite serious, when component can't unmount, the vue-router fails to navigate to next page.
To Reproduce
Steps to reproduce the behavior:
Register the component as doc intended, including the "Heading" extension (with configure or not doesn't matter)
Put the component in PageA, navigate to PageA, the component displayed as expected.
Navigate to PageB
See error
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'exposed')
at getExposeProxy (chunk-GEFBBB5D.js?v=ec5423d8:6314:16)
at setRef (chunk-GEFBBB5D.js?v=ec5423d8:4310:42)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5469:7)
at unmountChildren (chunk-GEFBBB5D.js?v=ec5423d8:5587:7)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5496:9)
at unmountComponent (chunk-GEFBBB5D.js?v=ec5423d8:5567:7)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5482:7)
at unmountComponent (chunk-GEFBBB5D.js?v=ec5423d8:5567:7)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5482:7)
at unmountChildren (chunk-GEFBBB5D.js?v=ec5423d8:5587:7)
From the call stack, I guess this should be a vue runtime error.
Also, toggle a boolean value with v-if will trigger the same error. The component won't go away as expected.
If "Heading" extension is removed, everything works fine. I guess there's something wrong with that extenstion.
Expected behavior
The component should unmount.
Desktop (please complete the following information):
OS: MacOS 13.3
Browser: chrome
Version: Version 120.0.6099.109 (Official Build) (arm64)
Describe the bug
When using "Heading" extension, component won't unmount properly.
This is actually quite serious, when component can't unmount, the vue-router fails to navigate to next page.
To Reproduce
Steps to reproduce the behavior:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'exposed')
at getExposeProxy (chunk-GEFBBB5D.js?v=ec5423d8:6314:16)
at setRef (chunk-GEFBBB5D.js?v=ec5423d8:4310:42)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5469:7)
at unmountChildren (chunk-GEFBBB5D.js?v=ec5423d8:5587:7)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5496:9)
at unmountComponent (chunk-GEFBBB5D.js?v=ec5423d8:5567:7)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5482:7)
at unmountComponent (chunk-GEFBBB5D.js?v=ec5423d8:5567:7)
at unmount (chunk-GEFBBB5D.js?v=ec5423d8:5482:7)
at unmountChildren (chunk-GEFBBB5D.js?v=ec5423d8:5587:7)
From the call stack, I guess this should be a vue runtime error.
Also, toggle a boolean value with v-if will trigger the same error. The component won't go away as expected.
If "Heading" extension is removed, everything works fine. I guess there's something wrong with that extenstion.
Expected behavior
The component should unmount.
Desktop (please complete the following information):
Additional context
"vue": "3.2.45"
"vite": "^3.2.7"
"element-plus": "^2.4.3"
"element-tiptap": "^2.2.1"
The text was updated successfully, but these errors were encountered: