wrap web in disabled keyboard provider (#4176)
This commit is contained in:
@@ -2,6 +2,7 @@ import 'lib/sentry' // must be near top
|
|||||||
import 'view/icons'
|
import 'view/icons'
|
||||||
|
|
||||||
import React, {useEffect, useState} from 'react'
|
import React, {useEffect, useState} from 'react'
|
||||||
|
import {KeyboardProvider} from 'react-native-keyboard-controller'
|
||||||
import {RootSiblingParent} from 'react-native-root-siblings'
|
import {RootSiblingParent} from 'react-native-root-siblings'
|
||||||
import {SafeAreaProvider} from 'react-native-safe-area-context'
|
import {SafeAreaProvider} from 'react-native-safe-area-context'
|
||||||
import {msg} from '@lingui/macro'
|
import {msg} from '@lingui/macro'
|
||||||
@@ -78,6 +79,7 @@ function InnerApp() {
|
|||||||
if (!isReady) return null
|
if (!isReady) return null
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<KeyboardProvider enabled={false}>
|
||||||
<Alf theme={theme}>
|
<Alf theme={theme}>
|
||||||
<ThemeProvider theme={theme}>
|
<ThemeProvider theme={theme}>
|
||||||
<RootSiblingParent>
|
<RootSiblingParent>
|
||||||
@@ -111,6 +113,7 @@ function InnerApp() {
|
|||||||
</RootSiblingParent>
|
</RootSiblingParent>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</Alf>
|
</Alf>
|
||||||
|
</KeyboardProvider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user