{"action":"created","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/451","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/451/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/451/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/451","id":40725004,"number":451,"title":"Bubble resizing when reshowing in view.","user":{"login":"yarneo","id":4066863,"avatar_url":"https://avatars.githubusercontent.com/u/4066863?v=3","gravatar_id":"","url":"https://api.github.com/users/yarneo","html_url":"https://github.com/yarneo","followers_url":"https://api.github.com/users/yarneo/followers","following_url":"https://api.github.com/users/yarneo/following{/other_user}","gists_url":"https://api.github.com/users/yarneo/gists{/gist_id}","starred_url":"https://api.github.com/users/yarneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarneo/subscriptions","organizations_url":"https://api.github.com/users/yarneo/orgs","repos_url":"https://api.github.com/users/yarneo/repos","events_url":"https://api.github.com/users/yarneo/events{/privacy}","received_events_url":"https://api.github.com/users/yarneo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/labels/bug","name":"bug","color":"E64545"},{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/labels/priority:%20low","name":"priority: low","color":"FBDD64"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-08-20T17:52:30Z","updated_at":"2015-09-01T02:44:22Z","closed_at":"2014-11-27T04:50:51Z","body":"I have added a tap to dismiss in the chat by calling    \r\n[self.inputToolbar.contentView.textView resignFirstResponder];\r\n\r\nHowever, I have noticed that when dismissing, the few bubbles that reappear from the top of the screen, have a 0.5 seconds animation where the bubble's width is resized to fit the text.\r\nIs there a way to not make it look like that? I tend to doubt this is a feature of some sort.\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments/136557913","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/451#issuecomment-136557913","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/451","id":136557913,"user":{"login":"promisenxu","id":13816048,"avatar_url":"https://avatars.githubusercontent.com/u/13816048?v=3","gravatar_id":"","url":"https://api.github.com/users/promisenxu","html_url":"https://github.com/promisenxu","followers_url":"https://api.github.com/users/promisenxu/followers","following_url":"https://api.github.com/users/promisenxu/following{/other_user}","gists_url":"https://api.github.com/users/promisenxu/gists{/gist_id}","starred_url":"https://api.github.com/users/promisenxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promisenxu/subscriptions","organizations_url":"https://api.github.com/users/promisenxu/orgs","repos_url":"https://api.github.com/users/promisenxu/repos","events_url":"https://api.github.com/users/promisenxu/events{/privacy}","received_events_url":"https://api.github.com/users/promisenxu/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T02:44:22Z","updated_at":"2015-09-01T02:44:22Z","body":"Thought I would update on this - I sort of hacked a solution to the problem, not elegant at all though.\r\n\r\nI tried many many things to fix the speed or sequence of animation involved in the resetting of inset - no luck.\r\n\r\nI ended up calling the collectionView to reloadItemsAtIndexPaths for all the items that will be created as a result of the decrease in contentInset. This seems to create the cells before any animation is shown and therefore prevent them from resizing on screen."}}