CalendarPicker icon indicating copy to clipboard operation
CalendarPicker copied to clipboard

Can't apply styles to empty day (showDayStragglers)

Open AnatolyMakarovKHM opened this issue 3 years ago • 1 comments

showDayStragglers: true

image

AnatolyMakarovKHM avatar Apr 19 '21 14:04 AnatolyMakarovKHM

The day stragglers aren't part of the month. They're provided as hints to the previous & next month's days. I feel it would be very confusing to style them the same or similar to the current month's days.

However I understand that there are different use cases that may warrant styling the day stragglers. Please submit a PR and I'll review & merge. Start by looking at the renderDayStraggler() method. https://github.com/stephy/CalendarPicker/blob/1c869e8174452180bb8f698e106c28e14b311482/CalendarPicker/DaysGridView.js#L150

Use the sample app in this project to develop with. https://github.com/stephy/CalendarPicker#sample-application

peacechen avatar Apr 19 '21 17:04 peacechen