This commit is contained in:
Timo K
2026-04-30 13:16:45 +02:00
parent df78ff6bd2
commit b4dffa598e

View File

@@ -80,7 +80,7 @@ export const Modal: FC<Props> = ({
const { t } = useTranslation();
// Empirically, Chrome on Android can end up not matching (hover: none), but
// still matching (pointer: coarse) :/
const touchscreen = true; //useMediaQuery("(hover: none) or (pointer: coarse)");
const touchscreen = useMediaQuery("(hover: none) or (pointer: coarse)");
const onOpenChange = useCallback(
(open: boolean) => {
if (!open) onDismiss?.();