Commit 95bac85
Always enable nested scrolling for swipe refresh layouts (#55189)
Summary:
Pull Request resolved: #55189
If nested scrolling is not enabled by default for ScrollView that define a `RefreshControl`, the wrapping Android view `ReactSwipeRefreshLayout` will swallow and discard non-touch scroll actions, like joystick movements. This change updates the default to be true, a more-sane default, which aligns with the existing touch actions that are always allowed. This does not impact touch-based behavior at all.
Changelog: [Android][Changed] Updated the `nestedScrollEnabled` prop to default to true if the ScrollView defines a `refreshControl`
Reviewed By: javache
Differential Revision: D90778643
fbshipit-source-id: 37693e80fc7c8b3461dc3d5cad51690e0ff77a771 parent 0649717 commit 95bac85
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
| 1853 | + | |
| 1854 | + | |
1853 | 1855 | | |
1854 | 1856 | | |
1855 | 1857 | | |
| |||
0 commit comments