Skip to content

Example chat screens do not scroll to the bottom on new message insertion.#899

Merged
nathantannar4 merged 1 commit intoMessageKit:developmentfrom
hamzaozturk:development
Oct 10, 2018
Merged

Example chat screens do not scroll to the bottom on new message insertion.#899
nathantannar4 merged 1 commit intoMessageKit:developmentfrom
hamzaozturk:development

Conversation

@hamzaozturk
Copy link
Member

isLastSectionVisible method returns wrong results for the BasicExampleViewController. Moreover, there is an easier method to find the visible section.

It is unnecessary to scroll to the bottom when title view updated.

What does this implement/fix? Explain your changes.

If you check Example Chat app, it does not scroll to the bottom on BasicExampleViewController. Actually, it does not scroll to the bottom on the other sections, too. Therefore, i changed the method to find the last section is visible.

Does this close any currently open issues?

No

Any relevant logs, error output, etc?

Any other comments?

Where has this been tested?

Devices/Simulators:

iOS Version:

Swift Version:

MessageKit Version:

…eViewController. Moreover, there is an easier method to find the visible section.

It is unnecessary to scroll to the bottom when title view updated.
@hamzaozturk hamzaozturk changed the title Example chat screens does not scroll to the bottom on new message insertion. Example chat screens do not scroll to the bottom on new message insertion. Oct 9, 2018
@nathantannar4 nathantannar4 merged commit 95297ce into MessageKit:development Oct 10, 2018
@SD10
Copy link
Member

SD10 commented Oct 10, 2018

Thank you for contributing to MessageKit! I've invited you to join the MessageKit GitHub organization - no pressure to accept! If you'd like more information on what that means, check out our contributing guidelines and join the MessageKit Slack channel. Feel free to reach out if you have any questions! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants