Skip to content

Commit

Permalink
prevent keyboard api in ScrollView (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
antpb authored and okwasniewski committed Sep 11, 2024
1 parent 7ec7da0 commit 619a317
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ class ScrollView extends React.Component<Props, State> {
this._keyboardMetrics = Keyboard.metrics();
this._additionalScrollOffset = 0;

if (Platform.isVision) {
if (!Platform.isVision) {
this._subscriptionKeyboardWillShow = Keyboard.addListener(
'keyboardWillShow',
this.scrollResponderKeyboardWillShow,
Expand Down

0 comments on commit 619a317

Please sign in to comment.