-
-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Description
Summary
(iOS) On change of date and time, onChange
is not getting invoked when using with react native version 0.79.2 where react native new architecture is enabled.
Reproducible sample code
onDateTimeChange = (_, dateTime) => {
// Not getting invoked
};
<RNDateTimePicker
display="spinner"
value={selectedDateTime}
minimumDate={MIN_DATE}
maximumDate={MAX_DATE}
mode={'datetime'}
onChange={this.onDateTimeChange}
timeZoneOffsetInMinutes={timezoneOffset}
/>
Steps to reproduce
- Integrate this library with RN version 0.79.2
- Open the Date time picker and change the date by spinning
Describe what you expected to happen:
onDateTimeChange
should be invoked
Environment info
datetimepicker version: 8.4.3
iOS version: 18.x
React Native version: 0.79.2
Problem: After some investigation found that this is because target action has been enabled only when react native new architecture is disabled.
spyreto, jholdy-dev and AmirFarhan
Metadata
Metadata
Assignees
Labels
No labels