-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Controls and enclosing box calculation exception when element is in group #10381
Comments
I found the reason here: #10214 but I can't get activeSelection |
Not sure the codepen you linked is the good one, i can't see any fabricjs code |
https://codesandbox.io/p/github/overdev-l/demo/master Can you open this address? |
Is there any way to change the parent element of an element while dragging it without interrupting the selection and dragging? |
Yes but there is no fabric code inside. Just a lot of code |
The fabric-related code is here |
CheckList
Version
6.0.2
In What environments are you experiencing the problem?
Chrome
Node Version (if applicable)
None
Link To Reproduction
https://codesandbox.io/p/github/overdev-l/canvas/master?import=true
Steps To Reproduce
Expected Behavior
I have set up a LayoutManager for a Group, using FixedLayout, which adds elements to the Group when the user drags an element outside the Group to the Group and lifts the mouse. according to the performance, it seems to be due to a problem with the calculation of the bounding box of the elements inside the Group, which is caused by the LayoutManger. Is this caused by LayoutManger?
redpandacompress_.2025-01-02.165701.mp4
Actual Behavior
redpandacompress_.2025-01-02.165701.mp4
Error Message & Stack Trace
No response
The text was updated successfully, but these errors were encountered: