fixing modal & keyboard interaction on android
This commit is contained in:
committed by
Paul Frazee
parent
70f4debc0b
commit
982f46376b
@@ -1,6 +1,7 @@
|
||||
import React, {useState, useEffect} from 'react'
|
||||
import {
|
||||
ActivityIndicator,
|
||||
Keyboard,
|
||||
KeyboardAvoidingView,
|
||||
ScrollView,
|
||||
StyleSheet,
|
||||
@@ -65,6 +66,7 @@ export const CreateAccount = ({onPressBack}: {onPressBack: () => void}) => {
|
||||
|
||||
const onPressSelectService = () => {
|
||||
store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl))
|
||||
Keyboard.dismiss()
|
||||
}
|
||||
|
||||
const onPressNext = async () => {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, {useState, useEffect} from 'react'
|
||||
import {
|
||||
ActivityIndicator,
|
||||
Keyboard,
|
||||
KeyboardAvoidingView,
|
||||
StyleSheet,
|
||||
Text,
|
||||
@@ -134,6 +135,7 @@ const LoginForm = ({
|
||||
|
||||
const onPressSelectService = () => {
|
||||
store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl))
|
||||
Keyboard.dismiss()
|
||||
}
|
||||
|
||||
const onPressNext = async () => {
|
||||
|
||||
Reference in New Issue
Block a user