krille-chan / fluffychat

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

Jumping to a message always overscrolls #1177

Open gabrc52 opened 1 week ago

gabrc52 commented 1 week ago

Bug Description

https://github.com/krille-chan/fluffychat/assets/24363938/fc7753f4-b878-4b24-b507-80d71968954d

When you tap on a message being replied to instead of jumping to it, it jumps to several messages above

Steps to Reproduce

  1. On a message that replies to another message, tap on the message that it is replying to

Expected Behavior

I can see the message that I tapped on without having to scroll back, and the message that I jumped to appears in the middle of the screen. (or it is simply highlighted if it is already visible)

App Version

1.20.0

Additional Platform Information

Pixel 6, Android 14

Additional Context

No response