Skip to content

Commit

Permalink
Allow tapping buffer lines when keyboard open
Browse files Browse the repository at this point in the history
Without keyboardShouldPersistTaps, tapping a buffer line closes the
keyboard. This allows copying a line or clicking a link when the
keyboard is open.
  • Loading branch information
mhoran committed Jan 18, 2025
1 parent 7b01ae5 commit 14f60b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usecase/buffers/ui/Buffer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export default class Buffer extends React.PureComponent<Props, State> {
key={linesListKey}
inverted
keyboardDismissMode="interactive"
keyboardShouldPersistTaps="handled"
keyExtractor={keyExtractor}
renderItem={this.renderBuffer}
initialNumToRender={initialNumToRender}
Expand Down

0 comments on commit 14f60b2

Please sign in to comment.