Commit 600a8dc
Allow customization of requestChildFocus scroll behavior in ScrollView (facebook#54325)
Summary:
Pull Request resolved: facebook#54325
Apps that override ScrollView may need to customize the auto scroll behavior on focus. This adds a protected method for apps that override ReactScrollView to customize focus behaviors.
## Changelog
[Internal]
Reviewed By: joevilches
Differential Revision: D85779339
fbshipit-source-id: 1ba978ed14ceb224ddc1d0da97727ff9702972e71 parent 9693a2b commit 600a8dc
File tree
3 files changed
+20
-0
lines changed- packages/react-native/ReactAndroid
- api
- src/main/java/com/facebook/react/views/scroll
3 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5651 | 5651 | | |
5652 | 5652 | | |
5653 | 5653 | | |
| 5654 | + | |
5654 | 5655 | | |
5655 | 5656 | | |
5656 | 5657 | | |
| |||
5791 | 5792 | | |
5792 | 5793 | | |
5793 | 5794 | | |
| 5795 | + | |
5794 | 5796 | | |
5795 | 5797 | | |
5796 | 5798 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
545 | 554 | | |
546 | 555 | | |
547 | 556 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
514 | 523 | | |
515 | 524 | | |
516 | 525 | | |
| |||
0 commit comments