When embedding, if there are multiple parents behind, it is attached to the last parent. #2916
Replies: 4 comments 4 replies
-
Please see |
Beta Was this translation helpful? Give feedback.
-
Do you use the
Please share the code with us (JSFiddle, CodeSandbox, ...) in both cases. |
Beta Was this translation helpful? Give feedback.
-
What is the problem with the error that occurs when embedding directly into a duplicate parent in a stencil? stencil_embed_error.mp4My Paper option code:
Error:joint-plus.js:14 Uncaught Error: Embedding of already embedded cells is not allowed. at Ho.n.embed (joint-plus.js:14:170793) The object dragged to the pager is embedded well in the overlapping area. However, if I drag it directly from the stencil to the overlapping area, an error occurs. What is the problem? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Introduction
When embedding, if there are multiple parents behind, it is attached to the parent at the back. It seems that the z-index is targeting the one at the back, but it seems common sense to attach it to the parent right behind.
And I tried implementing it by finding the parent right behind it as a coordinate. Currently, it is broken because it brings all the children of the parent right behind it as children of the parent right behind it.
Or, please tell me how to attach it to the parent right behind it.
Thank you.
embed.mp4
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
Beta Was this translation helpful? Give feedback.
All reactions