react-date-range
react-date-range copied to clipboard
Scroll not working in React 18 on DateRange component
Subject of the issue
We upgraded our project from React 17 to React 18. In React 18 the DateRange
component does not render the calendar when scroll={{enabled: true}}
:

When scroll is disabled everything is working fine.
[BUG] Bug Reproduce Steps
- Install the package in any React app
- Render it like this:
<DateRange scroll={{enabled: true}} />
[BUG] Expected behaviour
DateRange
should render the calendar with scroll enabled like it does with scroll disabled.
Environment
Package Version: 1.4.0 React version: 18.2.0 Node version: 16.14.0 Browser: Chrome
I have the same issue
are there any workarounds?
We know this project is not maintained but are there any forks which have solved this issue? cc: @paulxsight