-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize RTL Scroll Correction Logic (#38526)
Summary: Pull Request resolved: #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
- Loading branch information
1 parent
10e8b35
commit 30c7e9d
Showing
2 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters