-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Scroll to bottom does not work correctly if the newest message in the conversation is long #480
Comments
Thanks @ThiemNguyen - sounds related to #256 |
With #256 resolved this could be closed for now as well. |
@galambalazs - can you confirm that this is fixed? (I think I tested the other day and could still reproduce....) |
You are right, I just thought it was the same issue. Still happening. |
This issue appears to be caused by using the wrong scroll position at See PR #644 |
Yes I noticed this too and it's logical. You want it to be bottom aligned (instead of sending the last message to the top, because for long messages it means the bottom part will be cut off). The only problem is that this doesn't leave a nice margin below the last cell. If we could crack that we are golden. |
My PR #644 addresses both cases as best we can: small cells get 'Top' scroll position, and large cells get 'Bottom'. It is slightly imperfect for large cell bottom padding (for the issues you mention) but certainly an improvement. |
Yes maybe it could be added as a temporary fix (although when those two words bond together time seems to fade away... :-) |
Agreed; it is better than what is in field for handling huge cells, but still imperfect due to (probably) |
fix #480: scrollToBottomAnimated: fix long message handling
Hi,
I've just found another glitch with scroll-to-bottom feature which hasn't seem to be reported yet. Steps to reproduce:
Issue:
Here is the screenshot:
The full message:
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.
The text was updated successfully, but these errors were encountered: