stephy / CalendarPicker

CalendarPicker Component for React Native
798 stars 371 forks source link

When 1st day of Month is Sunday, the first row is blank #153

Closed razirbel closed 5 years ago

razirbel commented 5 years ago

When 1st day of Month is Sunday, the first row is blank. If you have 'startFromMonday' = false or omit the option, when you toggle through the months, if the first day of the month falls on a Sunday, the entire first row is blank.

peacechen commented 5 years ago

Thanks for the bug report. Please post a code snippet with the props that recreate the issue (startDate, startFromMonday, etc).

razirbel commented 5 years ago

Screen Shot 2019-05-21 at 9 36 56 AM

peacechen commented 5 years ago

Please paste text instead of a bitmap next time. Can't copy the code easily from a bitmap.

July 2018 shows the case you described. The entire month is still displayed, but the top row has extra space. https://snack.expo.io/HywKRqW6E

razirbel commented 5 years ago

I am sorry about that. I tried to paste the text but for some reason the <CalendarPIcker text and everything following didn’t show up except in the preview, I am not sure why. —

razirbel commented 5 years ago

Thank You!

peacechen commented 5 years ago

Fix released in 6.0.1. Thanks @RohanTalip