Reputation: 29
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:
Instead of:
Upvotes: 1
Views: 837
Reputation: 1153
Check and change the coordinate value of pathOffset
attribute on the text object or group object in fabric.js.
Upvotes: 1