{"action":"opened","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/4796","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/4796/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/4796/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/4796/events","html_url":"https://github.com/kangax/fabric.js/issues/4796","id":303533034,"number":4796,"title":"Texbox: out of bounds bug with charSpacing ","user":{"login":"blobinabottle","id":8090162,"avatar_url":"https://avatars0.githubusercontent.com/u/8090162?v=4","gravatar_id":"","url":"https://api.github.com/users/blobinabottle","html_url":"https://github.com/blobinabottle","followers_url":"https://api.github.com/users/blobinabottle/followers","following_url":"https://api.github.com/users/blobinabottle/following{/other_user}","gists_url":"https://api.github.com/users/blobinabottle/gists{/gist_id}","starred_url":"https://api.github.com/users/blobinabottle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blobinabottle/subscriptions","organizations_url":"https://api.github.com/users/blobinabottle/orgs","repos_url":"https://api.github.com/users/blobinabottle/repos","events_url":"https://api.github.com/users/blobinabottle/events{/privacy}","received_events_url":"https://api.github.com/users/blobinabottle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T16:01:24Z","updated_at":"2018-03-08T16:01:24Z","closed_at":null,"author_association":"NONE","body":"## Version\r\n2.1\r\n\r\n## Test Case\r\nIn Kitchen sink \r\n\r\n## Steps to reproduce\r\nExecute textbox with charSpacing high : \r\n```\r\ncanvas.add(new fabric.Textbox('lorem ispum dolores', {\r\n  width: 50,\r\n  height: 50,\r\n  left: 50,\r\n  top: 50,\r\n  charSpacing:200,\r\n  fill: 'rgb(255,0,0)'\r\n}));\r\n```\r\n\r\n## Expected Behavior\r\nText should stay in bounds.\r\n\r\n## Actual Behavior\r\nWhen you resize you'll get the text out of its bounds :\r\n![image](https://user-images.githubusercontent.com/8090162/37161096-18d59730-22f2-11e8-8f04-47339eceaa6d.png)\r\n\r\n"}}
{"actor":{"display_login":"blobinabottle"}}