Commit 62f83a9
Add a check for scrollEnabled to VirtualizedList error (#34560)
Summary:
Nested `VirtualizedList` is now an [error](646605b), instead of a warning. Issues [here](#31697) and [here](#33024) outline the concern.
## Changelog
[General] [Added] - Added a check to if `scrollEnabled` is not false, if so then fire the `VirtualizedList` error
Pull Request resolved: #34560
Test Plan: Passes all provided automatic tests. In a personal app, there is a situation of nested ScrollViews that had triggered the error. After defining `scrollEnabled={false}` and adding the check, the error no longer appears.
Reviewed By: yungsters
Differential Revision: D39283866
Pulled By: NickGerleman
fbshipit-source-id: 16ae6bbe6bb8b01a54ae18f9e6abf75d11c21c291 parent 0ef7705 commit 62f83a9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
1104 | | - | |
| 1104 | + | |
| 1105 | + | |
1105 | 1106 | | |
1106 | 1107 | | |
1107 | 1108 | | |
| |||
0 commit comments