Skip to content

Commit b8ef9f0

Browse files
fix: do not animate set date on ios (#442)
Co-authored-by: McFlyssss <[email protected]>
1 parent 2444c66 commit b8ef9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNDateTimePicker.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ - (void)setMinuteInterval:(NSInteger)minuteInterval
5454
- (void)setDate:(NSDate *)date {
5555
// Need to avoid the case where values coming back through the bridge trigger a new valueChanged event
5656
if (![self.date isEqualToDate:date]) {
57-
[super setDate:date];
57+
[super setDate:date animated:NO];
5858
}
5959
}
6060

0 commit comments

Comments
 (0)