krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
1.11k stars 194 forks source link

Jumps to bottom when loading newer messages #1042

Open zzottel opened 5 months ago

zzottel commented 5 months ago

Bug Description

When catching up on rooms I haven’t read for a long time, I jump to the first unread message and scroll down from there. Whenever FluffyChat reaches the point where it needs to load more (newer) messages, it jumps to the bottom of the newly loaded messages, and I have to scroll back to the point where I had been reading before.

Steps to Reproduce

  1. Go to a room with lots of unread messages, enough that one batch of messages that FluffyChat will load at once will not hold all the unread messages.
  2. Jump to first unread.
  3. Scroll down until FluffChat loads more messages.

Expected Behavior

View stays at the point where I am currently reading.

App Version

1.19.0 (iOS)

Additional Platform Information

Device: iPhone 12 Pro Max OS: iOS 17.4.1

Additional Context

No response

Eco-Gaming commented 5 months ago

I have the same issue on FluffyChat 1.19.2 F-Droid on Android 14