element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.21k stars 2k forks source link

Scrolling up in a specific room makes recent messages disappear #26553

Open Erethon opened 1 year ago

Erethon commented 1 year ago

Steps to reproduce

In the Matrix Foundation room (#foundation-office:matrix.org) whenever I scroll up past a certain point element-web "flashes" momentarily and then recent messages disappear from the timeline. Attached is a video demoing this.

https://github.com/vector-im/element-web/assets/1254842/81876396-b5e6-4c9d-965e-2ee9e3c41d98

The "flash" happens around 0:04-0:05.

Outcome

This persists across refreshes and even persisted across an upgrade from v1.11.47 to v1.11.48. I haven't tried a "clear cache and reload" since I suspect it might fix the issue and it might be useful for debugging. I can only reproduce this in my desktop and not my laptop with the same setup (matrix account, same firefox version and plugins).

Operating system

Debian Bookworm (12)

Browser information

Firefox ESR 115.4.0esr (64-bit)

URL for webapp

https://riot.dgrig.com

Application version

Element Web 1.11.48 (but happened in 1.11.47 too)

Homeserver

Synapse 1.96.0~rc1+bullseye1

Will you send logs?

No

lissyx commented 2 weeks ago

Still a problem as of Firefox Nightly 133 20241023093655, on #GeckoView room as of today

Version de Element : 1.11.82
Version crypto : Rust SDK 0.7.2 (517d99b), Vodozemac 0.7.0

Repro after "cache clear and reload", repro to other people than me

STR:

Expected: View continues to scroll back in history and I can come back to today

Actual: View moves, and collaspes to Sept 30 2024

Note: I can correctly perform the following STRs on https://app.element.io/#/room/#geckoview:mozilla.org without hitting the issue.