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 874d4aa commit 87174a9Copy full SHA for 87174a9
1 file changed
client/src/components/ui/AppBottomSheet.tsx
@@ -28,7 +28,7 @@ export const AppBottomSheet = ({
28
const { height: windowHeight } = useWindowDimensions();
29
const insets = useSafeAreaInsets();
30
const sheetHeight = Math.max(windowHeight - Math.max(insets.top, 16) - 12, 320);
31
- const resolvedDetents = detents ?? [0, sheetHeight];
+ const resolvedDetents: Detent[] = detents ?? [0, "content"];
32
const openIndex = resolvedDetents.length - 1;
33
const shouldConstrainContentHeight = detents === undefined;
34
0 commit comments