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