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.
2 parents 4a2257d + d7fcf6a commit abcd812Copy full SHA for abcd812
src/components/DsfrTooltip/DsfrTooltip.vue
@@ -107,7 +107,10 @@ const onMouseEnterHandler = (event: MouseEvent) => {
107
if (props.onHover && (event.target === source.value || source.value?.contains(event.target as Node))) {
108
show.value = true
109
// @ts-ignore internal property available just for this component
110
- globalThis.__vueDsfr__lastTooltipShow.value = false
+ if (globalThis.__vueDsfr__lastTooltipShow) {
111
+ // @ts-ignore internal property available just for this component
112
+ globalThis.__vueDsfr__lastTooltipShow.value = false
113
+ }
114
}
115
116
0 commit comments