fix(ui): Apple Pencil requires onPointerUp instead of onClick

With `onClick`, elements w/ a tooltip require a double-tap.
This commit is contained in:
psychedelicious
2024-10-04 13:13:22 +10:00
committed by Kent Keirsey
parent af5f342347
commit 2a90f4f59e
208 changed files with 412 additions and 412 deletions

View File

@@ -8,7 +8,7 @@ const ClearInvocationCacheButton = () => {
const { clearInvocationCache, isDisabled, isLoading } = useClearInvocationCache();
return (
<Button isDisabled={isDisabled} isLoading={isLoading} onClick={clearInvocationCache}>
<Button isDisabled={isDisabled} isLoading={isLoading} onPointerUp={clearInvocationCache}>
{t('invocationCache.clear')}
</Button>
);