hypeserver / react-date-range

A React component for choosing dates and date ranges.
MIT License
2.57k stars 658 forks source link

Scroll not working in React 18 on DateRange component #577

Open SimonEhleringer opened 2 years ago

SimonEhleringer commented 2 years ago

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

[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

shaije commented 1 year ago

I have the same issue

kurpav commented 1 year ago

are there any workarounds?

hrmnjt commented 1 year ago

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