Fix mobile date filter fullscreen dropdown

This commit is contained in:
Mike Cao committed 2026-09-03 17:14:22 -07:00
1 parent af542569bf
commit 9c44a3cbbf
1 file changed
+10 -1
+10 -1
View File
@@ -115,7 +115,16 @@ export function DateFilter({
popoverProps={{
side: side as any,
align: (align === 'top' ? 'start' : align === 'bottom' ? 'end' : align) as any,
style: { minWidth: 200 },
style: isMobile
? {
// Base UI's positioned wrapper contains React Zen's fullscreen popup.
position: 'fixed',
inset: 0,
width: '100vw',
height: '100dvh',
transform: 'none',
}
: { minWidth: 200 },
}}
isFullscreen={isMobile}
>