react-calendar
react-calendar copied to clipboard
How can it possible that every month start with monday?
Before you start - checklist
- [X] I followed instructions in documentation written for my React-Calendar version
- [X] I have checked if this bug is not already reported
Description
In short! if i'am changing single month to double month and also removing extra dates from every month(extra dates are next or previous month dates, which are on current month calendar). then days names remains on its position like every month's Calendar days start from Monday, How can it possible that every month's 1st date starts from Monday as in screenshot?
Steps to reproduce
...
Expected behavior
...
Actual behavior
Additional information
No response
Environment
- Browser (if applicable):
- React-Calendar version:
- React version:
@wojtekmaj any help plz?
I have the same issue. Seems to happen when you set both showNeighboringMonth
and showFixedNumberOfWeeks
to false. I want them both false though.
Doesn't look like so: https://codesandbox.io/s/react-calendar-flags-to-false-zhcjqy
This must be a styling issue. For example if you rewrote calendar grid to be an actual CSS grid instead of flexbox, then these subtleties may be lost.
I won't be able to help any of you guys without actual code to look at.
Yea, I changed it to grid styling. Thanks