We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47723c3 commit 3ff19ebCopy full SHA for 3ff19eb
src/components/WheelPicker/WheelNativePicker/wheel-picker.tsx
@@ -82,7 +82,7 @@ const WheelPicker: React.FC<Props> = ({
82
onChange(value);
83
clearTimeout(timerRef.current!);
84
timerRef.current = undefined;
85
- }, 100);
+ }, 50);
86
}
87
};
88
@@ -144,6 +144,7 @@ const WheelPicker: React.FC<Props> = ({
144
scrollEventThrottle={16}
145
onScroll={scrollEvent}
146
snapToOffsets={offsets}
147
+ onMomentumScrollEnd={handleScrollEnd}
148
decelerationRate={decelerationRate}
149
initialScrollIndex={selectedIndex}
150
getItemLayout={(_, index) => ({
0 commit comments