Fix pinch zoom on iOS (#1133)

This commit is contained in:
Jake Archibald
2021-08-26 15:59:42 +01:00
committed by GitHub
parent a547491146
commit db1a5138e6
5 changed files with 43 additions and 12 deletions

View File

@@ -295,3 +295,7 @@ export async function abortable<T>(
}),
]);
}
export const isSafari =
/Safari\//.test(navigator.userAgent) &&
!/Chrom(e|ium)\//.test(navigator.userAgent);