Skip to content

Commit cd1046a

Browse files
author
CopperGiraffe
authored
fix(DsfrTooltip): 🐛 empĂȘche la propagation du clic
1 parent 8c3d734 commit cd1046a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/components/DsfrTooltip/DsfrTooltip.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const onClick = () => {
124124
:class="onHover ? 'fr-link' : 'fr-btn fr-btn--tooltip'"
125125
:aria-describedby="id"
126126
:href="onHover ? '#' : undefined"
127-
@click="onClick()"
127+
@click.stop="onClick()"
128128
@mouseenter="onMouseEnter()"
129129
@mouseleave="onMouseLeave()"
130130
>

0 commit comments

Comments
 (0)