Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

preventSnapRefocus doesn't work #645

Description

@GitNorthWay

Subject of the issue

When there is a calendar with 2 months and you select a date range from the month at the right, this month goes to the left. You have the prop preventSnapRefocus to prevent this. Nothing changes setting this prop to either true or false.

[BUG] Bug Reproduce Steps

Create a calendar with DateRange and set direction to horizontal and months = 2.

[BUG] Expected behaviour

Expected behaviour should be no jumping months by default. If for some reason this is not possible or the case the respective prop 'preventSnapRefocus' should work.

Environment

Package Version: "^2.0.0-alpha.4"
React version: "18.2.0",
Node version: 20.11
Browser: Chrome 124.0.6367.61, Firefox 125.0.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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