Skip to content

Commit dae8838

Browse files
committed
Apply Picker onPress fix on the new Picker implementation
1 parent 303554b commit dae8838

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/picker/new.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const Picker = (props: PropsWithChildren<PickerProps> & ForwardRefInjectedProps
4343
containerStyle,
4444
testID,
4545
onChange,
46+
onPress,
4647
onShow,
4748
onSearchChange,
4849
renderCustomModal,
@@ -204,6 +205,7 @@ const Picker = (props: PropsWithChildren<PickerProps> & ForwardRefInjectedProps
204205
modalProps={modalProps}
205206
expandableContent={expandableModalContent}
206207
renderCustomOverlay={renderCustomModal ? _renderCustomModal : undefined}
208+
onPress={onPress}
207209
testID={testID}
208210
{...customPickerProps}
209211
disabled={editable === false}

0 commit comments

Comments
 (0)