Skip to content

Commit 474ec8a

Browse files
authored
Change useNativeDriver to false for onScroll
1 parent ae19e2a commit 474ec8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agenda/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ export default class Agenda extends Component<AgendaProps, State> {
482482
onTouchEnd={this.onTouchEnd}
483483
onScrollBeginDrag={this.onStartDrag}
484484
onScrollEndDrag={this.onSnapAfterDrag}
485-
onScroll={Animated.event([{nativeEvent: {contentOffset: {y: this.state.scrollY}}}], {useNativeDriver: true})}
485+
onScroll={Animated.event([{nativeEvent: {contentOffset: {y: this.state.scrollY}}}], {useNativeDriver: false})}
486486
>
487487
<View
488488
testID={AGENDA_CALENDAR_KNOB}

0 commit comments

Comments
 (0)