Skip to content

Strange UI for DateRange when scrolling months #5361

@isabellachen

Description

@isabellachen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions