react-date-range icon indicating copy to clipboard operation
react-date-range copied to clipboard

Scroll not working in React 18 on DateRange component

Open SimonEhleringer opened this issue 2 years ago • 4 comments

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}}:

Bildschirmfoto 2022-06-20 um 07 48 32

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

SimonEhleringer avatar Jun 20 '22 06:06 SimonEhleringer

I have the same issue

shaije avatar Jul 26 '22 06:07 shaije

are there any workarounds?

kurpav avatar Oct 07 '22 08:10 kurpav

We know this project is not maintained but are there any forks which have solved this issue? cc: @paulxsight

hrmnjt avatar Oct 07 '22 09:10 hrmnjt