diff --git a/src/components/TextPicker/TextSelectorModal.tsx b/src/components/TextPicker/TextSelectorModal.tsx index 2abbd9abc8e6..d59b1e0a3203 100644 --- a/src/components/TextPicker/TextSelectorModal.tsx +++ b/src/components/TextPicker/TextSelectorModal.tsx @@ -1,5 +1,5 @@ import React, {useState} from 'react'; -import {View} from 'react-native'; +import {Keyboard, View} from 'react-native'; import Button from '@components/Button'; import HeaderWithBackButton from '@components/HeaderWithBackButton'; import Modal from '@components/Modal'; @@ -40,7 +40,10 @@ function TextSelectorModal({value, description = '', onValueSelected, isVisible, title={description} onBackButtonPress={onClose} /> - + onValueSelected?.(currentValue ?? '')} + onPress={() => { + Keyboard.dismiss(); + onValueSelected?.(currentValue ?? ''); + }} />