farhoudshapouran/react-native-ui-datepicker

range issue

Closed this issue · 4 comments

For the range mode there are gaps in the selected range:

IMG_1739

I tested it on iOS, Android, and the web but I cannot reproduce this, can you reply with your code?

Getting the same thing on IOS. On latest version and basically copying what you have done in the example App.tsx. Removed all styling and no avail. Seem to only be the last row of each month.

...
const [range, setRange] = useState({ startDate: undefined, endDate: undefined })
const today = dayjs()
...
<DateTimePicker mode='range' startDate={range.startDate} endDate={range.endDate} date={today} onChange={(params) => setRange(params)} />
...

This bug was fixed #87

@farhoudshapouran Can you please publish a new version with this fix?