hide tooltip when pressed twice on mobile (#4627)

* more tooltip fixes

* cleanup

* hide tooltip when pressed twice on mobile
This commit is contained in:
bread 2026-01-22 14:43:06 -08:00 committed by GitHub
parent 8cedae584f
commit 84f3225a9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ const resolvedIcon = computed(() => withBase(props.icon))
</script>
<template>
<VDropdown :triggers="['click', 'touch']" :auto-hide="true" :distance="15" placement="auto">
<VDropdown :triggers="['click']" :auto-hide="true" :distance="15" placement="auto">
<button
aria-label="Tooltip"
class="text-brand-1 relative inline-flex align-middle items-center justify-center leading-none p-0 select-none font-bold cursor-pointer transition-all h-[1em] w-[1.7em]"