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.

Infinite scroll does not work with React Strict Mode #653

Description

@delasource

Subject of the issue

Within the tag <React.StrictMode> a DateRangePicker component does not work. It can not track the scrollposition to show the full calender. Only "months-prop +1" months are visible.
CleanShot_2024-09-14_003438

[BUG] Bug Reproduce Steps

Create a vite project and add the infinite-scroll-example code under the StrictMode-Element.

[BUG] Expected behaviour

Look like on demo page.

Environment

Package Version: 2.0.1 (also tested 1.4.0, and also tested @iroomitapp 's fork)
React version: ^18
Node version: v22.7.0 (but using bun 1.1.12 as package manager)
Browser: Brave

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