Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar Scroll Paged performance issue #597

Open
Sequentor opened this issue Dec 12, 2024 · 2 comments
Open

Calendar Scroll Paged performance issue #597

Sequentor opened this issue Dec 12, 2024 · 2 comments

Comments

@Sequentor
Copy link

Sequentor commented Dec 12, 2024

Library information:

  • Version: 2.6.1
  • Compose module

Describe the bug**

Hi! Thank you so much for the library!
In example 8 (compose), when pagination is enabled (calendarScrollPaged = true) - interaction with the user interface is very slow.

To Reproduce (if applicable)

  1. Open example 8 in compose
  2. Scroll
  3. Wait near 1+ second for user can interact (pick date)
@kizitonwose
Copy link
Owner

I think this is because we use rememberFirstVisibleMonthAfterScroll which waits until the list stops scrolling. You can use rememberFirstCompletelyVisibleMonth to get a better visual experience.

@Sequentor
Copy link
Author

I think this is because we use rememberFirstVisibleMonthAfterScroll which waits until the list stops scrolling. You can use rememberFirstCompletelyVisibleMonth to get a better visual experience.

I mean interaction with interface, not visual experience.
Try to swipe and immediately tap on the date – it won’t work; there will be a one-second delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants