Skip to content

Commit 0732baa

Browse files
antpbokwasniewski
authored andcommitted
prevent keyboard api in ScrollView (#143)
1 parent 253c09c commit 0732baa

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native/Libraries/Components/ScrollView

1 file changed

+1
-1
lines changed

packages/react-native/Libraries/Components/ScrollView/ScrollView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ class ScrollView extends React.Component<Props, State> {
764764
this._keyboardMetrics = Keyboard.metrics();
765765
this._additionalScrollOffset = 0;
766766

767-
if (Platform.isVision) {
767+
if (!Platform.isVision) {
768768
this._subscriptionKeyboardWillShow = Keyboard.addListener(
769769
'keyboardWillShow',
770770
this.scrollResponderKeyboardWillShow,

0 commit comments

Comments
 (0)