hypeserver / react-date-range

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

wrong dateRange on hover #368

Closed ayxos closed 3 years ago

ayxos commented 4 years ago

Subject of the issue

Latest version selects the wrong dateRange on hover

[BUG] Bug Reproduce Steps

https://adphorus.github.io/react-date-range/ hover on "this week" or any other option, the whole month is preselected, but on click works fine.

[BUG] Expected behaviour

hover on "this week" should mark the current week.

Environment

Package Version: "^1.0.3" React version: n/a Node version: n/a Browser: Chrome

Grawl commented 4 years ago

I can confirm that this issue exist.

Even can't hide preview range (as a rowkaround) with CSS because .rdrDayInPreview used for hovering a day and highlighting of a day for range preview.

lysoff commented 4 years ago

is there any progress here? looks like a quick fix

Ensaphelon commented 4 years ago

Facing the same issue

lucyyu24 commented 4 years ago

same here! any progress on this?

austinlangdon commented 4 years ago

Hi, any progress on this?

chrisclausen90 commented 3 years ago

Solved with latest version update