Files
react-native/Libraries
Anne Pham 62f83a9fad Add a check for scrollEnabled to VirtualizedList error (#34560)
Summary:
Nested `VirtualizedList` is now an [error](https://github.com/facebook/react-native/commit/646605b90e666c4b0d1c1200a137eacf62b46f87), instead of a warning. Issues [here](https://github.com/facebook/react-native/issues/31697) and [here](https://github.com/facebook/react-native/issues/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: https://github.com/facebook/react-native/pull/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: 16ae6bbe6bb8b01a54ae18f9e6abf75d11c21c29
2022-09-07 19:10:01 -07:00
..
2022-08-31 16:05:55 -07:00
2022-08-03 21:07:47 -07:00
2022-08-31 16:05:55 -07:00
2022-09-07 12:20:58 -07:00
2022-04-05 12:15:05 -07:00
2022-09-01 12:39:03 -07:00
2022-08-26 19:10:03 -07:00
2022-08-31 16:05:55 -07:00
2022-04-05 12:15:05 -07:00
2022-07-05 13:03:11 -07:00