Commit 3e62eb8
ERROR: StaticViewConfigValidator: Invalid static view config for 'AndroidHorizontalScrollView' (#55299)
Summary:
Pull Request resolved: #55299
Add missing scrollsChildToFocus attribute to AndroidHorizontalScrollViewNativeComponent.js
validAttributes to fix StaticViewConfigValidator error.
The native Android side (ReactHorizontalScrollViewManager.kt) defines scrollsChildToFocus as a ReactProp, but the JavaScript static view config was missing this attribute.
This fixes the error:
ERROR StaticViewConfigValidator: Invalid static view config for 'AndroidHorizontalScrollView'. 'validAttributes.scrollsChildToFocus' is missing.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D91480519
fbshipit-source-id: d70b93467fe313838e268d95f98010d67197c3b41 parent 99b328b commit 3e62eb8
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- packages/react-native/Libraries/Components/ScrollView
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments