We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366e0d6 commit be665c1Copy full SHA for be665c1
src/components/Surface.tsx
@@ -202,7 +202,7 @@ const SurfaceIOS = forwardRef<
202
...(isElevated && getStyleForShadowLayer(elevation, 1)),
203
...filteredStyles,
204
...borderRadiusStyles,
205
- flex: flattenedStyles.height ? 1 : undefined,
+ flex: flattenedStyles.height || flattenedStyles.flex ? 1 : undefined,
206
backgroundColor: bgColor,
207
};
208
0 commit comments