Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection Name not supported by VirtualizedList #30970

Closed
amarlette opened this issue Feb 10, 2021 · 2 comments
Closed

Collection Name not supported by VirtualizedList #30970

amarlette opened this issue Feb 10, 2021 · 2 comments
Labels
Accessibility Component: VirtualizedList Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Platform: Android Android applications.

Comments

@amarlette
Copy link

amarlette commented Feb 10, 2021

Description

Collection Name not supported by VirtualizedList. No components can be set as any collection role. With support for "List" or "Grid" roles would these would likely work as expected.

This issue is covered in-depth by parent issue #30972, please check there for more details.

React Native version:

v0.63

@mdaj06
Copy link
Contributor

mdaj06 commented Jul 31, 2021

Hey! @amarlette can i have a look at this issue?

@blavalla
Copy link
Contributor

This was fixed in #31630 and verified here #30972 (comment)

javache added a commit to javache/react-native that referenced this issue Sep 16, 2024
Summary:
## Summary

When a view config can not be found, it currently errors with
`TypeError: Cannot read property 'bubblingEventTypes' of null`. Instead
invariant at the correct location and prevent further processing of the
null viewConfig to improve the error logged.

## How did you test this change?

Build and run RN playground app referencing an invalid native view
through `requireNativeComponent`.

Changelog: [General][Fixed] Improved error message when no view config is found.

DiffTrain build for commit facebook/react@26855e4.

Differential Revision: D62760863

Pulled By: javache
facebook-github-bot pushed a commit that referenced this issue Sep 17, 2024
Summary:
Pull Request resolved: #46518

## Summary

When a view config can not be found, it currently errors with
`TypeError: Cannot read property 'bubblingEventTypes' of null`. Instead
invariant at the correct location and prevent further processing of the
null viewConfig to improve the error logged.

## How did you test this change?

Build and run RN playground app referencing an invalid native view
through `requireNativeComponent`.

Changelog: [General][Fixed] Improved error message when no view config is found.

DiffTrain build for commit facebook/react@26855e4.

Test Plan: Sandcastle tests

Reviewed By: jackpope

Differential Revision: D62760863

Pulled By: javache

fbshipit-source-id: c71dacc48fe8795b28840cfb3f53c1f9fc664a16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Component: VirtualizedList Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Platform: Android Android applications.
Projects
None yet
Development

No branches or pull requests

3 participants