react-native-ui-datepicker icon indicating copy to clipboard operation
react-native-ui-datepicker copied to clipboard

range issue

Open EdwardKashulsky opened this issue 1 year ago • 2 comments

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

IMG_1739

EdwardKashulsky avatar Jan 29 '24 15:01 EdwardKashulsky

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

farhoudshapouran avatar Feb 14 '24 15:02 farhoudshapouran

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)} />
...

hoax3 avatar Apr 01 '24 14:04 hoax3

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

farhoudshapouran avatar Jun 03 '24 06:06 farhoudshapouran

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

jtsimoes avatar Jun 13 '24 19:06 jtsimoes