Skip to content

Commit

Permalink
fix: tooltip doesn't hides on page change
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Jul 27, 2023
1 parent 60a54de commit 9bfaba8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/Charts/ChartTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ import { inject, useAttrs } from 'vue'
const options = inject('options')
const { trigger = 'axis', appendToBody = 'true', ...attributes } = useAttrs()
const { trigger = 'axis', confine = true, ...attributes } = useAttrs()
options.tooltip = {
trigger: trigger,
appendToBody: appendToBody,
...attributes,
}
</script>

0 comments on commit 9bfaba8

Please sign in to comment.