Commit 84550ec
authored
[Android] Fix
## Description
I've noticed that `ScrollView` did not work on Android. There were two
issues with that:
1. `GHScrollView` received wrong prop. For some reason linter did not
catch that.
2. `RefreshControl` was blocking scroll at the top of the list.
This PR changes prop name to the correct one and adds check for
scrolling direction so that `RefreshControl` no longer blocks scrolling.
## Test plan
**ScrollView** and **FlatList** examples.ScrollView (#3867)1 parent 6afb378 commit 84550ec
File tree
2 files changed
+31
-3
lines changed- packages/react-native-gesture-handler
- android/src/main/java/com/swmansion/gesturehandler/core
- src/v3/components
2 files changed
+31
-3
lines changedLines changed: 30 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
204 | 210 | | |
205 | 211 | | |
206 | 212 | | |
| |||
304 | 310 | | |
305 | 311 | | |
306 | 312 | | |
| 313 | + | |
307 | 314 | | |
308 | 315 | | |
309 | 316 | | |
| |||
323 | 330 | | |
324 | 331 | | |
325 | 332 | | |
326 | | - | |
327 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
328 | 354 | | |
329 | 355 | | |
330 | 356 | | |
| 357 | + | |
| 358 | + | |
331 | 359 | | |
332 | 360 | | |
333 | 361 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments