We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f19ac commit db2cb1cCopy full SHA for db2cb1c
1 file changed
app/components/Tooltip/Base.vue
@@ -14,8 +14,8 @@ const props = defineProps<{
14
tooltipAttr?: HTMLAttributes
15
}>()
16
17
-const triggerRef = shallowRef<HTMLElement | null>(null)
18
-const tooltipRef = shallowRef<HTMLElement | null>(null)
+const triggerRef = useTemplateRef('triggerRef')
+const tooltipRef = useTemplateRef('tooltipRef')
19
20
const placement = computed<Placement>(() => props.position || 'bottom')
21
0 commit comments