You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ public ReactHorizontalScrollView(Context context, @Nullable FpsListener fpsListe
158
158
/**
159
159
* Set all default values here as opposed to in the constructor or field defaults. It is important
160
160
* that these properties are set during the constructor, but also on-demand whenever an existing
161
-
* ReactTextView is recycled.
161
+
* ReactHorizontalScrollView is recycled.
162
162
*/
163
163
privatevoidinitView() {
164
164
mOverflowInset = newRect();
@@ -552,7 +552,7 @@ protected void onLayout(boolean changed, int l, int t, int r, int b) {
552
552
553
553
/**
554
554
* Since ReactHorizontalScrollView handles layout changes on JS side, it does not call
555
-
* super.onlayout due to which mIsLayoutDirty flag in HorizontalScrollView remains true and
555
+
* super.onLayout due to which mIsLayoutDirty flag in HorizontalScrollView remains true and
556
556
* prevents scrolling to child when requestChildFocus is called. Overriding this method and
557
557
* scrolling to child without checking any layout dirty flag. This will fix focus navigation issue
558
558
* for KeyEvents which are not handled in HorizontalScrollView, for example: KEYCODE_TAB.
0 commit comments