This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
Scroll to bottom does not work correctly if the newest message in the conversation is long #480
Closed
Description
Hi,
I've just found another glitch with scroll-to-bottom feature which hasn't seem to be reported yet. Steps to reproduce:
- Open demo app (it's not necessary to start with an empty conversation).
- Type in a fairly long lorem ipsum message (around 15-line one in my test case).
Issue:
- When I send the message, it actually scrolls way down but just around a little bit more than half of the message's height, causing the keyboard to hide the message partially.
- When I pull to dismiss the keyboard, and manually scroll to bottom, then tap textview to active the keyboard again, similar issue is happened.
Another point I noticed is that this issue only happens if that long message is the latest one in the conversation. If we add a short message after it, the collection view scrolls correctly.