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

Strange UI for DateRange when scrolling months #5361

Open
isabellachen opened this issue Jan 27, 2025 · 0 comments
Open

Strange UI for DateRange when scrolling months #5361

isabellachen opened this issue Jan 27, 2025 · 0 comments

Comments

@isabellachen
Copy link

The behaviour of the dateRange picker when used with the months scroller is a bit unintuitive.

Steps to reproduce

  1. Select start date (eg. 28 Feb 2024)
  2. Scroll to subsequent month (eg. March)
  3. The hove-range highlight is applied by default for all the days in March from day 1 to day 28

Is there a way to only trigger the hover range highlight (ie the class react-datepicker__day--in-selecting-range) only when the user move the cursor over the days on the calendar and not when the user scrolls the month?

Screen.Recording.2025-01-27.at.2.11.28.PM.mov
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