Skip to content

Commit 294bb52

Browse files
committed
fix: disable tooltip on mobile
1 parent 988bddc commit 294bb52

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/components/Compare/FacetBarChart.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
195195
},
196196
underlayerColor: colors.value.bg,
197197
},
198-
highlighter: { opacity: 5 },
198+
highlighter: {
199+
opacity: isMobile.value ? 0 : 5,
200+
},
199201
},
200202
legend: {
201203
show: false,
@@ -212,6 +214,7 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
212214
},
213215
},
214216
tooltip: {
217+
show: !isMobile.value,
215218
borderColor: 'transparent',
216219
backdropFilter: false,
217220
backgroundColor: 'transparent',

0 commit comments

Comments
 (0)