{"action":"closed","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/3457","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/3457/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/3457/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/3457/events","html_url":"https://github.com/kangax/fabric.js/issues/3457","id":192145692,"number":3457,"title":"TextBox doesn't work in Fabric 1.7.0","user":{"login":"dennisrjohn","id":8462346,"avatar_url":"https://avatars.githubusercontent.com/u/8462346?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisrjohn","html_url":"https://github.com/dennisrjohn","followers_url":"https://api.github.com/users/dennisrjohn/followers","following_url":"https://api.github.com/users/dennisrjohn/following{/other_user}","gists_url":"https://api.github.com/users/dennisrjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisrjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisrjohn/subscriptions","organizations_url":"https://api.github.com/users/dennisrjohn/orgs","repos_url":"https://api.github.com/users/dennisrjohn/repos","events_url":"https://api.github.com/users/dennisrjohn/events{/privacy}","received_events_url":"https://api.github.com/users/dennisrjohn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-28T23:24:44Z","updated_at":"2016-11-29T07:53:53Z","closed_at":"2016-11-29T07:53:53Z","body":"## Version\r\n1.7.0\r\n\r\n## Test Case\r\nhttps://plnkr.co/edit/uS1lrCkDOiEUIFFN8hKf?p=preview\r\nIn the above plunker, commenting out the fabric 1.7.0 reference and uncommenting the 1.6.7 reference causes the example to work.\r\n\r\n## Steps to reproduce\r\n1. Add a TextBox  to any fabric canvas.\r\n\r\n## Expected Behavior\r\nThe Textbox is displayed.\r\n\r\n## Actual Behavior\r\nAn error is generated: \r\nUncaught TypeError: Cannot read property 'save' of undefined.\r\n\r\nCaused by this line:\r\n _splitTextIntoLines: function() {\r\n      var originalAlign = this.textAlign;\r\n      this.ctx.save(); <--- this.ctx is undefined here"}}
{"actor":{"display_login":"asturur"}}