Dmitry Gorlov
Dmitry Gorlov

Reputation: 29

Text selection doesn't fit the bounding box

When I select text in added to canvas iText2 object, it has some padding at the bottom. But when I do the same on Fiddle, I don't have such problem.

What causes this:

enter image description here

Instead of:

enter image description here

Upvotes: 1

Views: 837

Answers (1)

Oni
Oni

Reputation: 1153

Check and change the coordinate value of pathOffset attribute on the text object or group object in fabric.js.

Upvotes: 1

Related Questions