wrap web in disabled keyboard provider (#4176)

zio/stable
Hailey 2024-05-22 14:19:47 -07:00 committed by GitHub
parent 0c2fb13516
commit 03655abb7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 36 additions and 33 deletions

View File

@ -2,6 +2,7 @@ import 'lib/sentry' // must be near top
import 'view/icons'
import React, {useEffect, useState} from 'react'
import {KeyboardProvider} from 'react-native-keyboard-controller'
import {RootSiblingParent} from 'react-native-root-siblings'
import {SafeAreaProvider} from 'react-native-safe-area-context'
import {msg} from '@lingui/macro'
@ -78,6 +79,7 @@ function InnerApp() {
if (!isReady) return null
return (
<KeyboardProvider enabled={false}>
<Alf theme={theme}>
<ThemeProvider theme={theme}>
<RootSiblingParent>
@ -111,6 +113,7 @@ function InnerApp() {
</RootSiblingParent>
</ThemeProvider>
</Alf>
</KeyboardProvider>
)
}