Skip to content

Commit

Permalink
Don't set selection on TextInput
Browse files Browse the repository at this point in the history
It's broken in Expo v39, and not needed. We only need to know when the
selection changes, which is already handled by onSelectionChange.
  • Loading branch information
mhoran committed Sep 24, 2020
1 parent 0cc0110 commit 1df1960
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/usecase/buffers/ui/BufferContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 1df1960

Please sign in to comment.