LemmyNet/jerboa

Weird scrolling behaviour in post comments

Opened this issue · 1 comments

Jerboa Version

0.0.77

Android Version + Phone

Android 15, Pixel 8 pro

Describe The Bug

On this one specific post, if I scroll all the way down to the bottom, and then scroll back up not too fast, the scroll position gets reset constantly.

I haven't seen this happen on any other posts yet.

screen-20241027-220436.mp4

To Reproduce

  1. Open https://lemmy.dbzer0.com/post/30338733
  2. Scroll all the way to the bottom
  3. Scroll back up kinda slowly, doesn't happen when I scroll quick

In the case of a crash or when relevant include the logs

No response

Probably has to do with the rendered picture its scrolling past. This is pretty complicated because compose is probably recalculating the picture dimensions when it scrolls back into view, causing the recompositions. It involves our markdown library, the picture renderer, and our own threaded tree components.