You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2025. It is now read-only.
Repository navigation
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
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.
[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
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.[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