Open veho-paul opened 2 years ago
Thank you @veho-paul for reporting this issue. We will look into it.
Hey, Can you share reproducible snack link for the issue ? I wasn't able to reproduce the issue.
Updated @ 3.4.17 but the issue still exists. Switching to react-native's flat-list or removing the ListHeaderComponent
"hide" the warning.
I have this problem when I have a native-base Pressable
in the ListHeaderComponent
and the Pressable
have more than one child.
Wrap their children in one component work fine for me. The alert is no longer displayed.
I was able to test and the alert is displayed if for a component (it doesn't matter which one, View
, Pressable
...) it has multiple children.
Description
Rendering children in a container is throwing a "key" error
CodeSandbox/Snack link
See below
Steps to reproduce
NativeBase Version
^3.4.0
Platform
Other Platform
No response
Additional Information
doesn't throw the error, but as soon as I add another child
I get this error:
Specifically this is happening in a ListHeaderComponent of a FlatList