You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the VerticalYearCalendar, scrolling exhibits noticeable low frame rates (FPS).
To Reproduce (if applicable)
Open Example11Page in the sample app.
Scroll up and down through the calendar.
Observe that the scrolling is not smooth.
Note: I tested this on a Samsung S23 Ultra, so hardware limitations should not be a factor.
Expected behavior (if applicable)
Smooth scrolling on VerticalYearCalendar.
Screenshots? (if applicable)
In the example list, scrolling is relatively smooth, but this is not the case with the VerticalYearCalendar. You can view the comparison here: https://imgur.com/a/pv8g4mN
Additional information
The text was updated successfully, but these errors were encountered:
zeroarst
changed the title
VerticalYearCalendar scorlling performance issue
VerticalYearCalendar scrolling performance issue
Sep 16, 2024
@a7asoft
No, I just posted it today. I tried setting monthColumn to 2 and used a simple Text composable in dayContent without an additional Box wrapper. It seems to slightly improve performance, but I'm not completely certain.
Will look into possible optimizations for the year calendar when I have some time (the API is experimental). But I imagine it would be quite tricky without resorting to just drawing the entire thing directly on the canvas. Keep in mind that there are 400+ times (Including in/out dates and headers/footers) to render in each year. Probably looks better with paged scrolling instead of continuous scrolling.
Library information:
VerticalYearCalendar
Describe the bug**
When using the VerticalYearCalendar, scrolling exhibits noticeable low frame rates (FPS).
To Reproduce (if applicable)
Example11Page
in the sample app.Note: I tested this on a Samsung S23 Ultra, so hardware limitations should not be a factor.
Expected behavior (if applicable)
Smooth scrolling on
VerticalYearCalendar
.Screenshots? (if applicable)
In the example list, scrolling is relatively smooth, but this is not the case with the
VerticalYearCalendar
. You can view the comparison here: https://imgur.com/a/pv8g4mNAdditional information
The text was updated successfully, but these errors were encountered: