From 409f20ebd2af2fcda068210d06e7e25aae764a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan=20Atalay?= Date: Mon, 18 Apr 2022 20:31:32 +0300 Subject: [PATCH] fix: Select pressable functionality improved. --- src/components/primitives/Select/Select.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/primitives/Select/Select.tsx b/src/components/primitives/Select/Select.tsx index bf901b37b..8ef23413c 100644 --- a/src/components/primitives/Select/Select.tsx +++ b/src/components/primitives/Select/Select.tsx @@ -165,6 +165,15 @@ const Select = ( editable={false} focusable={false} isDisabled={isDisabled} + onPressIn={ + Platform.OS !== 'web' + ? () => { + Keyboard.dismiss(); + setIsOpen(true); + onOpen && onOpen(); + } + : undefined + } /> );