Skip to content

Commit

Permalink
testing implementation of mantainVisibleContentPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Sep 23, 2022
1 parent 4ba2671 commit 0f7438c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,8 @@ public void onLayoutChange(

int currentScrollY = getScrollY();
int maxScrollY = getMaxScrollY();
// this is a test of the implementation from
// https://github.com/facebook/react-native/pull/29466/files#diff-dd50314ea4292aa2fb65c5511378b1d7bce34d337cd8f9b99890761ee2dd8160R1040-R1073
if (mEnabledTalkbackCompatibleInvertedList) {
if (mInitialScrollTriggered) {
scrollMaintainVisibleContentPosition();
Expand Down

0 comments on commit 0f7438c

Please sign in to comment.