Skip to content

Commit 7e3755b

Browse files
committed
fix(Picker): 数据量小的时候会有点击无反应
1 parent e4716fd commit 7e3755b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/Picker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const Picker = (props: PickerProps) => {
197197
onPressOut={Platform.OS === 'android' ? onTouchEnd : undefined}
198198
onPress={() => {
199199
if (readonly) return;
200-
if (timer.current) return;
200+
// if (timer.current) return;
201201
clearTimeout(onPressTimer.current!);
202202
onPressORonScroll.current = 'onPress';
203203
location(ItemHeights![index], index);

0 commit comments

Comments
 (0)