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 2559198 commit 3c75257Copy full SHA for 3c75257
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