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 d701029 commit 8e0c8e0Copy full SHA for 8e0c8e0
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