-
-
Notifications
You must be signed in to change notification settings - Fork 366
Closed
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Is there an existing issue for this?
- I have searched the existing issues and this is a new bug.
Current Behavior
As shown in the figure, using both of these properties simultaneously will result in an error. By examining the code, it was found that the error occurred in the following method
function clampNodeExtent({ width, height }, extent) {
return [extent[0], [extent[1][0] - (width || 0), extent[1][1] - (height || 0)]];
}
It seems that the code did not take into account the parameter transmission in the image
Expected Behavior
I hope this form of parameter transmission can also run normally without any errors
Steps To Reproduce
No response
Minimal reproduction of the issue with CodeSandbox
No response
Relevant log output
Anything else?
No response
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on