SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Generalize RTL Scroll Correction Logic (#38526)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38526

This changes the logic we use to correct scroll position on RTL ScrollView content change, to a new more generalized strategy of keeping a constant right-edge offset on layout change. This includes first layout, so that the initial scroll position is correct.

Changelog:
[Android][Fixed] - Generalize RTL Scroll Correction Logic

Reviewed By: yungsters

Differential Revision: D47627115

fbshipit-source-id: 33b2aae0cb603b7f7f2e2e6c127622fd531230e8
N
Nick Gerleman committed
30c7e9dfa41348e96e946384c76f038ccd859896
Parent: 10e8b35
Committed by Facebook GitHub Bot <[email protected]> on 7/27/2023, 11:26:18 PM