I'm having the following error after updating from v1.9.0
to v1.10.0
:
Error: Invariant Violation: ScrollView child layout (["alignItems","justifyContent"]) must be applied through the contentContainerStyle prop
This error is happening because I'm passing alignItems
and justifyContent
to the flatContainerStyle
props in the RichToolbar
component. For some reason, the v1.10.0 is using the flatContainerStyle
value to set the style
prop of the FlatList
instead of using it to set the contentContainerStyle
.
I've created a PR to fix this: #407