We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6609c commit 5ebb6d3Copy full SHA for 5ebb6d3
packages/x6-react-shape/src/view.ts
@@ -32,7 +32,7 @@ export class ReactShapeView extends NodeView<ReactShape> {
32
if (container) {
33
const elem = React.createElement(Wrap, { node, graph: this.graph })
34
if (Portal.isActive()) {
35
- const portal = createPortal(elem, container) as ReactPortal
+ const portal = createPortal(elem, container, node.id) as ReactPortal
36
Portal.connect(this.targetId(), portal)
37
} else {
38
this.root = createRoot(container)
0 commit comments