Group Scaling Issue Textbox Stretches and Deflates in Fabric.js Seeking Help #8718
Unanswered
DineshCodeFlow
asked this question in
Q&A
Replies: 2 comments
-
Also tried |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wrote the below code and the problem is fixed with another problem:- the rectangles flickers (The rect scaling is not smooth) https://jsfiddle.net/1u3b40xf/28/
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CheckList
Version
4.1.0
In What environments are you experiencing the problem?
Chrome
Node Version (if applicable)
16.15.0
Link To Reproduction
https://jsfiddle.net/covationlabs/ykoqr095/
Steps To Reproduce
I am facing an issue while trying to create a group consisting of a rectangle and a text box inside it. I have created a jsfiddle link for reference (please see below):
https://jsfiddle.net/covationlabs/ykoqr095/
The problem I am facing is that when I try to scale the group using mb, mt, mr and ml, the textbox text within it either gets deflates or stretches in an undesirable way. I want the textbox text to remain fixed while scaling the group.
Can someone please guide me on how to fix this issue?
Thank you in advance.
Expected Behavior
Expecting: https://user-images.githubusercontent.com/69179167/220105453-9e85fa9a-88b6-4948-b955-21161e618339.mp4
Actual Behavior
Actual: https://jsfiddle.net/covationlabs/ykoqr095/
Error Message & Stack Trace
Beta Was this translation helpful? Give feedback.
All reactions