commit 1df19606ef6d7e6fe4a3c83745a19384574be2ed
parent 0cc0110b4df5711d74b91ce86a9bc54ab47941ed
Author: Matthew Horan <matt@matthoran.com>
Date: Wed, 23 Sep 2020 21:57:59 -0400
Don't set selection on TextInput
It's broken in Expo v39, and not needed. We only need to know when the
selection changes, which is already handled by onSelectionChange.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/usecase/buffers/ui/BufferContainer.tsx b/src/usecase/buffers/ui/BufferContainer.tsx
@@ -184,7 +184,6 @@ class BufferContainer extends React.Component<Props, State> {
onChangeText={this.handleChangeText}
onFocus={() => this.handleOnFocus()}
onBlur={() => this.handleOnBlur()}
- selection={selection}
onSelectionChange={this.handleSelectionChange}
returnKeyType="send"
blurOnSubmit={false}