oleksandrbalan / lazytable

Lazy layout to display columns and rows of data on the two directional plane.
Apache License 2.0
296 stars 12 forks source link

Oddness of scroll near bottom #29

Open tylerwilson opened 7 months ago

tylerwilson commented 7 months ago

Good day,

I am using your LazyTable in an app, and I am getting odd scroll behavior when near the bottom of the table. Either it will not reach the bottom, or it jumps back up slightly when I reach the bottom. I have attached a video attempting to show the issue. Note I have set the background of the LazyTable to gray so you can see where the bounds are.

Note I am using it from shared code, for both Android and iOS using Compose MP 1.6.1. Of course on Android it is using the main latest Google Compose which is 1.6.5 currently.

I have mostly worked around it by adding 3 extra rows at the bottom, for Android. On iOS, this scroll issue does not occur, so in that case I do not add any extra rows.

I know it may be some issue with Compose that your LazyTable is using, but I am putting it here in hopes you have seen it, can reproduce it and/or create a fix in the library.

Note that in the video, the last time slot visible should be 6:30 PM.

https://github.com/oleksandrbalan/lazytable/assets/586790/6ca61c44-a296-4f45-8a7f-400141c565b6

Thank you very much for the library and your assistance.