farhoudshapouran / react-native-ui-datepicker

Customizable React Native 📅 DatePicker component for Android, iOS, and Web. It includes single, range and multiple modes and supports different locales.
https://farhoudshapouran.github.io/react-native-ui-datepicker/
MIT License
272 stars 28 forks source link

range issue #58

Closed EdwardKashulsky closed 1 month ago

EdwardKashulsky commented 5 months ago

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

IMG_1739

farhoudshapouran commented 4 months ago

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

hoax3 commented 3 months ago

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)} />
...
farhoudshapouran commented 1 month ago

This bug was fixed https://github.com/farhoudshapouran/react-native-ui-datepicker/pull/87

jtsimoes commented 2 weeks ago

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