diff options
-rw-r--r-- | src/components/forms/HostingProvider.tsx | 3 | ||||
-rw-r--r-- | src/view/com/auth/server-input/index.tsx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx index 1653b0da4..11d76316d 100644 --- a/src/components/forms/HostingProvider.tsx +++ b/src/components/forms/HostingProvider.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {View} from 'react-native' +import {Keyboard, View} from 'react-native' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -27,6 +27,7 @@ export function HostingProvider({ const {_} = useLingui() const onPressSelectService = React.useCallback(() => { + Keyboard.dismiss() serverInputControl.open() if (onOpenDialog) { onOpenDialog() diff --git a/src/view/com/auth/server-input/index.tsx b/src/view/com/auth/server-input/index.tsx index 0661b7a35..b26ac1dcb 100644 --- a/src/view/com/auth/server-input/index.tsx +++ b/src/view/com/auth/server-input/index.tsx @@ -67,7 +67,7 @@ export function ServerInputDialog({ return ( <Dialog.Outer control={control} - nativeOptions={{sheet: {snapPoints: ['80', '100%']}}} + nativeOptions={{sheet: {snapPoints: ['100%']}}} onClose={onClose}> <Dialog.Handle /> |