Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor helper method for ScrollView to not detect scroll direction
Summary: The helper class for ScrollView should not need to detect the scroll direction. If it has to do so, that means the corresponding logic should live in the `ReactScrollView` or `ReactHorizontalScrollView` respectively. This diff is to remove the scroll direction detection logic from the scroll view helper. Long term we should keep it this way as the shared code got moved to the helper class from the scroll view classes. Changelog: [Internal] Reviewed By: javache Differential Revision: D32514429 fbshipit-source-id: 2165f2eba90cc25d14834c39148fe8ce8805bea6
- Loading branch information
1 parent
8ab2cbb
commit 508de3f
Showing
3 changed files
with
41 additions
and
58 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
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