BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
951 stars 326 forks source link

Scrollable min/max date bugs #191

Closed majugurci closed 4 years ago

majugurci commented 4 years ago

Hello, there are a few bugs when scrollable is enabled and both min and max dates are set. It is happening when minDate is set to the beginning of the current month. Seems both android and ios are affected.

Bugs:

After you swipe calendar strip is rerendered good.

Image: image

Reproducible example: Expo snack

Tyred commented 4 years ago

I am having the same issue. If you find any workaround or something like that pls let me know :)

peacechen commented 4 years ago

Thanks for reporting this and providing a Snack.

Update: Found the bug. Will push a fix shortly.

peacechen commented 4 years ago

The fix has been published in 2.0.2

majugurci commented 4 years ago

I have tested these use cases and it is working correctly now. Thank you very much for fast response and fix.

But I have found another bug, I'm guessing it is related to this so I'll post it here instead of opening a new ticket.

Description: In some cases right arrow is missing and by clicking right arrow you cannot go to the last date. I hope these images make it clearer:

Reproducible example: Expo snack