Open cmawhorter opened 2 years ago
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:
Package Version: 1.4.0 React version: 16.14.0 Node version: 14.16.0 Browser: chrome
I'm trying to add rounding to only the start and end edge of the range, which works great:![image](https://user-images.githubusercontent.com/142338/155217953-d2ac3a9d-d473-4e3d-acb9-1906c53004bc.png)
and if the range spans multiple months, i render a muted range selection:![image](https://user-images.githubusercontent.com/142338/155218246-be5ed49b-5ccf-4945-8b72-19d32aa8314b.png)
that works too -- unless the range is near the month edge. in that case i end up with orphan days:![image](https://user-images.githubusercontent.com/142338/155218490-0c412b35-c627-4e5f-b632-50a3c9396628.png)
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:![image](https://user-images.githubusercontent.com/142338/155220139-c9a159ca-c845-4e89-8696-f594fe9f8709.png)
Environment
Package Version: 1.4.0 React version: 16.14.0 Node version: 14.16.0 Browser: chrome