Skip to content

Commit e2f2abb

Browse files
antpbokwasniewski
authored andcommitted
prevent keyboard api in ScrollView (#143)
1 parent 4b4add4 commit e2f2abb

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
@@ -766,7 +766,7 @@ class ScrollView extends React.Component<Props, State> {
766766
this._keyboardMetrics = Keyboard.metrics();
767767
this._additionalScrollOffset = 0;
768768

769-
if (Platform.isVision) {
769+
if (!Platform.isVision) {
770770
this._subscriptionKeyboardWillShow = Keyboard.addListener(
771771
'keyboardWillShow',
772772
this.scrollResponderKeyboardWillShow,

0 commit comments

Comments
 (0)