stephy / CalendarPicker

CalendarPicker Component for React Native
788 stars 370 forks source link

selectedDate changes when month changed #46

Closed ssomnoremac closed 6 years ago

ssomnoremac commented 7 years ago

expected behavior - would be that if you change the month then the selectedDate remains the same (out of view).

actual behavior - selected date follows you Oct. 15 -> Nov 15

The expected is how all OS calendars I've seen seem to work. I looked at this code briefly and had no thoughts on where to begin. Any suggestions?

dhananjaypuglia commented 7 years ago

Hey @ssomnoremac i have fixed this issue at https://github.com/dhansiddh/CalendarPicker. I will create a pull request of it. But until that you can use this forked repo for the fix.

peacechen commented 7 years ago

Thanks for the fix. Have you created a PR? Searched for it but don't see one.

Edit: v5 of CalendarPicker looks to have fixed this.