Add comment
This commit is contained in:
@@ -67,6 +67,8 @@ export function Modal({
|
||||
...rest
|
||||
}: ModalProps) {
|
||||
const { t } = useTranslation();
|
||||
// Empirically, Chrome on Android can end up not matching (hover: none), but
|
||||
// still matching (pointer: coarse) :/
|
||||
const touchscreen = useMediaQuery("(hover: none) or (pointer: coarse)");
|
||||
const onOpenChange = useCallback(
|
||||
(open: boolean) => {
|
||||
|
||||
Reference in New Issue
Block a user