You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hovering the ml or mr controls, the UI thinks it is locked, but width of textbox can still be modified
works in kitchensink too
Expected Behavior
Width of textbox cannot be changed.
Preferably prevent changeWidth.ts from modifying width when scalingX is locked (if not possible or not wanted, maybe not show the forbidden sign on hovering)
Actual Behavior
Width of textbox can be changed although ui shows the forbidden sign
Error Message & Stack Trace
No response
The text was updated successfully, but these errors were encountered:
ShaMan123
changed the title
[Bug]: lockScalingX affects Textbox change width control cursor
[Bug]: lockScalingX affects cirsor of Textbox width control
Jun 21, 2023
ShaMan123
changed the title
[Bug]: lockScalingX affects cirsor of Textbox width control
[Bug]: lockScalingX affects cursor of Textbox width control
Jun 21, 2023
Maybe i'm missing something, but in the code shouldActivate is only called one time, and the function there is about corner controls. Looks to me like shouldActivate on mr or ml is not even being used
there are 2 parts here:
1 stop having cursor being affected
2 create a control that can be locked at will. to understand better 2, you could tell us more on when you would lock textbox resizing and why/how.
CheckList
Version
5.3.0
In What environments are you experiencing the problem?
No response
Node Version (if applicable)
None
Link To Reproduction
https://codesandbox.io/p/sandbox/fabric-nextjs-sandbox-forked-kx77wj
Steps To Reproduce
works in kitchensink too
Expected Behavior
Width of textbox cannot be changed.
Preferably prevent changeWidth.ts from modifying width when scalingX is locked (if not possible or not wanted, maybe not show the forbidden sign on hovering)
Actual Behavior
Width of textbox can be changed although ui shows the forbidden sign
Error Message & Stack Trace
No response
The text was updated successfully, but these errors were encountered: