Skip to content

Commit

Permalink
fix: do not animate set date on ios (#442)
Browse files Browse the repository at this point in the history
Co-authored-by: McFlyssss <[email protected]>
  • Loading branch information
nuvolarmobileteam and McFlyssss authored Apr 23, 2021
1 parent 2444c66 commit b8ef9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNDateTimePicker.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ - (void)setMinuteInterval:(NSInteger)minuteInterval
- (void)setDate:(NSDate *)date {
// Need to avoid the case where values coming back through the bridge trigger a new valueChanged event
if (![self.date isEqualToDate:date]) {
[super setDate:date];
[super setDate:date animated:NO];
}
}

Expand Down

0 comments on commit b8ef9f0

Please sign in to comment.