Skip to content

Commit

Permalink
perf: remove tooltip alive when mouse over the icon button (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed Jun 17, 2024
1 parent bf71c6d commit 1bcde26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/common/IconButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const hasTooltip = computed(() => {
</script>

<template>
<n-tooltip v-if="hasTooltip" :delay="tooltipDelay" :show-arrow="false">
<n-tooltip v-if="hasTooltip" :delay="tooltipDelay" :keep-alive-on-hover="false" :show-arrow="false">
<template #trigger>
<n-button
:class="props.buttonClass"
Expand Down

0 comments on commit 1bcde26

Please sign in to comment.