element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.38k stars 723 forks source link

Message view jumps up when link preview loads #5002

Open dead10ck opened 2 years ago

dead10ck commented 2 years ago

Steps to reproduce

When scrolling through a chat room, when link previews load, they cause the text to jump upward, making it really hard to quickly scroll through a chat room and skim the messages. As soon as you start reading something, the text jumps out of sight. Here is a video of it.

https://vimeo.com/668044798

Outcome

What did you expect?

Messages should have a fixed position and not jump around when link previews are loaded.

What happened instead?

Text jumps around when link preview loads.

Your phone model

OnePlus 9 Pro

Operating system version

OxygenOS 12

Application version and app store

Element 1.3.12 from Play Store

Homeserver

matrix.org

Will you send logs?

No

kojid0 commented 2 years ago

Please, can link previews be generated right when the message comes in (in the background) and not just when the chat is opened? This would probably solve this issue and would contribute to better UX.