{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/2376","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/2376/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/2376/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/2376/events","html_url":"https://github.com/kangax/fabric.js/issues/2376","id":98190758,"number":2376,"title":"Entering text in a Textbox object expands it when there aren't newlines","user":{"login":"onassar","id":612938,"avatar_url":"https://avatars.githubusercontent.com/u/612938?v=3","gravatar_id":"","url":"https://api.github.com/users/onassar","html_url":"https://github.com/onassar","followers_url":"https://api.github.com/users/onassar/followers","following_url":"https://api.github.com/users/onassar/following{/other_user}","gists_url":"https://api.github.com/users/onassar/gists{/gist_id}","starred_url":"https://api.github.com/users/onassar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onassar/subscriptions","organizations_url":"https://api.github.com/users/onassar/orgs","repos_url":"https://api.github.com/users/onassar/repos","events_url":"https://api.github.com/users/onassar/events{/privacy}","received_events_url":"https://api.github.com/users/onassar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-30T14:59:08Z","updated_at":"2015-07-30T15:07:42Z","closed_at":null,"body":"I've created a `Textbox` object with width `400px`  \r\n![](https://i.imgur.com/UfMNEw7.png)\r\n\r\nWhen entering text that doesn't have any newlines, it expands the `Textbox` beyond `400px`  \r\n![](https://i.imgur.com/BBKuU1m.png)\r\n\r\nNot sure if this is intended behaviour  \r\nIf it is, would be great to be able to pass in a property to preserve the width and force the text to a newline"},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/126363968","html_url":"https://github.com/kangax/fabric.js/issues/2376#issuecomment-126363968","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/2376","id":126363968,"user":{"login":"asturur","id":1194048,"avatar_url":"https://avatars.githubusercontent.com/u/1194048?v=3","gravatar_id":"","url":"https://api.github.com/users/asturur","html_url":"https://github.com/asturur","followers_url":"https://api.github.com/users/asturur/followers","following_url":"https://api.github.com/users/asturur/following{/other_user}","gists_url":"https://api.github.com/users/asturur/gists{/gist_id}","starred_url":"https://api.github.com/users/asturur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asturur/subscriptions","organizations_url":"https://api.github.com/users/asturur/orgs","repos_url":"https://api.github.com/users/asturur/repos","events_url":"https://api.github.com/users/asturur/events{/privacy}","received_events_url":"https://api.github.com/users/asturur/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T15:07:42Z","updated_at":"2015-07-30T15:07:42Z","body":"Textbox has a minimum width that is the length of the biggest word.\r\nTextbox split lines with fixed with, using space.\r\n\r\nSo what are you asking is reverse its behaviour."}}