Skip to content

onChange is being called when changing the months #62

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

Open
kellertobias opened this issue Jan 26, 2025 · 0 comments
Open

onChange is being called when changing the months #62

kellertobias opened this issue Jan 26, 2025 · 0 comments

Comments

@kellertobias
Copy link

I am having the datepicker to select which date I want to show on a daily calendar.

Every time, the user changes the month, this also changes the selected date. Most datepickers select the month first, then click on the date to actually select the date. Is there a way to make this package behave like this, rather than triggering the onChange when changin only the month?

This creates an unnecessary amount of re-rendering and data fetching.

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

1 participant