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

Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string. #9

Closed
justinhorner opened this issue Apr 10, 2018 · 2 comments

Comments

@justinhorner
Copy link
Contributor

It looks like in a recent ReactNative update, the virtualizedCell.cellKey should be string instead of number.

wonday/react-native-pdf#125
status-im/status-mobile#3387

More of the error:

Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string.
in CellRenderer (at VirtualizedList.js:668)
in RCTScrollContentView (at ScrollView.js:793)
in RCTScrollView (at ScrollView.js:889)
in ScrollView (at VirtualizedList.js:998)
in VirtualizedList (at FlatList.js:640)
in FlatList (at index.js:200)
...

@justinhorner
Copy link
Contributor Author

PR with proposed fix: #10

@gusgard
Copy link
Owner

gusgard commented Apr 10, 2018

Thanks for the issue and the PR, it will be merged in a few minutes

@gusgard gusgard closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants