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 May 29, 2024
1 parent 899594b commit 4ba582b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,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 4ba582b

Please sign in to comment.