From e6c6097bdca84b132519630fec3dd2da96efb713 Mon Sep 17 00:00:00 2001 From: Matthew Horan Date: Sun, 27 Oct 2024 19:01:23 -0400 Subject: [PATCH] Disable autocorrect and re-enable multiline input Multiline input had been disabled to work around https://github.com/facebook/react-native/issues/27019. However, that workaround no long seems to be working. Instead, disable autoCorrect, which does work around the above issue. --- src/usecase/buffers/ui/BufferContainer.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/usecase/buffers/ui/BufferContainer.tsx b/src/usecase/buffers/ui/BufferContainer.tsx index 82fb9f4..4cf34c5 100644 --- a/src/usecase/buffers/ui/BufferContainer.tsx +++ b/src/usecase/buffers/ui/BufferContainer.tsx @@ -246,9 +246,11 @@ class BufferContainer extends React.Component { onBlur={this.handleOnBlur} onSelectionChange={this.handleSelectionChange} returnKeyType="send" - blurOnSubmit={false} + submitBehavior="submit" onSubmitEditing={this.handleSubmit} enablesReturnKeyAutomatically={true} + multiline={true} + autoCorrect={false} />