element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Jumping to a message may not bring it into view

Open frebib opened this issue 1 year ago • 0 comments

Jumping to a message seems to bring the bottom of the following message in line with the bottom of the timeline viewport. This works fine in most cases, however if the message you want to jump to is very long, it never actually scrolls up far enough to bring it into view. A video demonstration

https://github.com/element-hq/element-x-android/assets/775104/e11cb9c1-a93f-4cc4-8caf-b61f2e6a2b5a

A link to the message in the above video: https://matrix.to/#/!ping-v11:maunium.net/$WWJk26zwdtCIEVQSlGiv0v3F8kZszKN-rIQhIcdlc3k?via=maunium.net&via=matrix.org&via=envs.net

Edit: it's true that the inverse behaves kinda strange too. Jumping to a one-line message that is followed by another one-line message can put it very close to the bottom of the screen (depending on your display size/scale, I suppose). I would expect it to be nearer the centre of the screen, not 80% of the way down

frebib avatar Apr 30 '24 15:04 frebib