Skip to content

Bugfix/message input bar rendering#128

Closed
nathantannar4 wants to merge 1 commit into
v0.8.0from
bugfix/MessageInputBarRendering
Closed

Bugfix/message input bar rendering#128
nathantannar4 wants to merge 1 commit into
v0.8.0from
bugfix/MessageInputBarRendering

Conversation

@nathantannar4

Copy link
Copy Markdown
Member

No description provided.

I noticed that since viewDidAppear can be called more than once during a views life cycle we dont want to add a copy of the MessageInputBar to the view after is has already been correctly rendered. I just added a flag to account for this edge case. To see an example of the bug, present a UIAlertController in MessagesViewController and a copy of the MessageInputBar gets incorrectly added.
@SD10 SD10 changed the base branch from master to v0.8.0 September 16, 2017 20:58
@SD10

SD10 commented Sep 16, 2017

Copy link
Copy Markdown
Member

@nathantannar4 Can you take a look at #125 and see if we can merge this into that branch?
I'm thinking that we may be able to combine this flag with the isFirstLayout flag I introduced there.
If it's not too much trouble you could also fix up the one pull request review I made there as well.

@SD10 SD10 deleted the bugfix/MessageInputBarRendering branch September 20, 2017 20:28
nathantannar4 added a commit that referenced this pull request Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants