LemmyNet / jerboa

A native android app for Lemmy
GNU Affero General Public License v3.0
1.16k stars 166 forks source link

Small visual bug with scroll bar #1270

Open helloyanis opened 11 months ago

helloyanis commented 11 months ago

Jerboa Version

0.049

Android Version + Phone

Android 13, Samsung Galaxy A52S 5G

Describe The Bug

The scroll bar does not go by smoothly. It's a relatively small bug that has no impact on the scrolling behaviour itself. See video

https://github.com/dessalines/jerboa/assets/40769776/97cd62eb-7cbf-42db-8f69-b1421cfa5300

To Reproduce

  1. Open the app
  2. Start scrolling

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

No response

MV-GH commented 9 months ago

This is possibly caused bc the scrollbar size is based of the size of the lazycolumn (the comment tree), this size constantly changes as comments get moved into view (increased) and comments out of view (decreased)

dessalines commented 9 months ago

I can't see the scroll bar on the video you linked, but yes the scrollbar size isn't going to be smooth with lazycolumn.

MV-GH commented 9 months ago

It's not impossible to fix, if this is the cause we can simple use the postRes or listState to retrieve the true size i believe. I would need to take a deeper look at this