-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
Version
3.2.31
Reproduction link
Steps to reproduce
Click the 'unmount app' button
The error message will show in the Developer Tools Console
TypeError: Cannot read properties of null (reading 'nextSibling')
What is expected?
No error on app.unmount()
when the fragment dom content is not exist
What is actually happening?
There is an error on app.unmount()
when the fragment dom content is not exist
Combine usages of x6 and AntdVue
- Create a component Foo.vue which the root element is a Popover component. The AntdVue Popover component is a fragment implemented inside
- registerVueComponent with Foo, named this x6 node 'foo-node'
- Render some custom node of 'foo-node'
- Call removeCells of x6 to remove these nodes
- Show error and the x6 content area is not responsive, because x6 does not handle exception of unmount error
Maybe this error will occur in some other scenarios when app.unmount()
- Some browser extensions maybe clear the content of the fragment dom container
- In micro frontend, the sub app is a fragment, root app clear sub app dom content by mistake
Metadata
Metadata
Assignees
Labels
No labels