You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In <View> component's alignContent style property, react-native-web uses the CSS default value of stretch instead of flex-start (according to Yoga layout engine that RN uses)
Expected behavior
I guess it should be either fixed or at least documented.
But for alignContent, RN has the default value of flex-start. Just check the example and link I provided.
It's obvious inconsistency:
Web:
iOS:
Android:
Is there an existing issue for this?
Describe the issue
In
<View>
component'salignContent
style property,react-native-web
uses the CSS default value ofstretch
instead offlex-start
(according to Yoga layout engine that RN uses)Expected behavior
I guess it should be either fixed or at least documented.
Steps to reproduce
Test case
https://snack.expo.dev/@rosko/view-aligncontent-default-value
Additional comments
No response
The text was updated successfully, but these errors were encountered: