Skip to content

Commit dd66f12

Browse files
antpbokwasniewski
authored andcommitted
prevent keyboard api in ScrollView (#143)
1 parent 1fcdae2 commit dd66f12

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
@@ -783,7 +783,7 @@ class ScrollView extends React.Component<Props, State> {
783783
this._keyboardMetrics = Keyboard.metrics();
784784
this._additionalScrollOffset = 0;
785785

786-
if (Platform.isVision) {
786+
if (!Platform.isVision) {
787787
this._subscriptionKeyboardWillShow = Keyboard.addListener(
788788
'keyboardWillShow',
789789
this.scrollResponderKeyboardWillShow,

0 commit comments

Comments
 (0)