Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch react-native-gifted-chat@3.3.2 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-gifted-chat/src/GiftedChat/index.tsx b/node_modules/react-native-gifted-chat/src/GiftedChat/index.tsx
index 2858b6c..013f476 100644
--- a/node_modules/react-native-gifted-chat/src/GiftedChat/index.tsx
+++ b/node_modules/react-native-gifted-chat/src/GiftedChat/index.tsx
@@ -19,7 +19,7 @@ import {
import dayjs from 'dayjs'
import localizedFormat from 'dayjs/plugin/localizedFormat'
import { GestureHandlerRootView, TextInput } from 'react-native-gesture-handler'
- import { KeyboardAvoidingView, KeyboardProvider } from 'react-native-keyboard-controller'
+ import { KeyboardAvoidingView } from 'react-native-keyboard-controller'
import { SafeAreaProvider, useSafeAreaInsets } from 'react-native-safe-area-context'
import { TEST_ID } from '../Constant'
import { GiftedChatContext } from '../GiftedChatContext'
@@ -354,13 +354,7 @@ function GiftedChatWrapper<TMessage extends IMessage = IMessage> (props: GiftedC
return (
<GestureHandlerRootView style={styles.fill}>
<SafeAreaProvider>
- <KeyboardProvider
- statusBarTranslucent
- navigationBarTranslucent
- {...keyboardProviderProps}
- >
<GiftedChat<TMessage> {...rest} />
- </KeyboardProvider>
</SafeAreaProvider>
</GestureHandlerRootView>
)
This issue body was partially generated by patch-package .
Reactions are currently unavailable
Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch
react-native-gifted-chat@3.3.2for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.