react-date-range
react-date-range copied to clipboard
don't set rdrInRange on passive days when no other days in the month belong to selection
I'm trying to add rounding to only the start and end edge of the range, which works great:

and if the range spans multiple months, i render a muted range selection:

that works too -- unless the range is near the month edge. in that case i end up with orphan days:

maybe rdrInRange (etc.) should not be added to the passive days if no other days in that month belong to that range?
my workaround is to hide passive days, but i much prefer showing them:

Environment
Package Version: 1.4.0 React version: 16.14.0 Node version: 14.16.0 Browser: chrome