Skip to content

Commit f14ede5

Browse files
committed
Fix - VueUiCarouselTable - Fix pauseOnHover not working
1 parent f65f21b commit f14ede5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/vue-ui-carousel-table.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ defineExpose({
353353
containerType: 'inline-size',
354354
position: 'relative',
355355
overflow: 'auto',
356-
fontFamily: FINAL_CONFIG.fontFamily,
356+
fontFamily: FINAL_CONFIG.fontFamily
357357
}"
358358
:class="{ 'vue-ui-responsive' : isResponsive, 'is-playing': !isPaused }"
359-
@mouseenter="pauseOnHover()"
359+
@mouseover="pauseOnHover()"
360360
@mouseleave="resumeAnimation()"
361361
@touchstart="pauseOnTouch()"
362362
@touchend="resumeAfterDelay()"
@@ -398,7 +398,7 @@ defineExpose({
398398
:style="{
399399
...FINAL_CONFIG.thead.tr.style,
400400
border: FINAL_CONFIG.thead.tr.border.size ? `${FINAL_CONFIG.thead.tr.border.size}px solid ${FINAL_CONFIG.thead.tr.border.color}` : 'none',
401-
boxShadow: isResponsive ? 'none' : FINAL_CONFIG.thead.tr.style.boxShadow
401+
boxShadow: isResponsive ? 'none' : FINAL_CONFIG.thead.tr.style.boxShadow,
402402
}"
403403
:height="`${FINAL_CONFIG.thead.tr.height}px`"
404404
>
@@ -424,7 +424,7 @@ defineExpose({
424424
<tbody
425425
v-if="dataset.body && dataset.head" ref="tbody"
426426
:style="{
427-
clipPath: 'inset(0,0,0,0)'
427+
clipPath: 'inset(0,0,0,0)',
428428
}"
429429
>
430430
<tr
@@ -489,6 +489,7 @@ defineExpose({
489489
:position="FINAL_CONFIG.userOptions.position"
490490
:titles="{ ...FINAL_CONFIG.userOptions.buttonTitles }"
491491
:zIndex="3"
492+
:offsetX="12"
492493
@generatePdf="generatePdf"
493494
@generateCsv="generateCsv"
494495
@generateImage="generateImage"
@@ -557,8 +558,7 @@ thead th, tbody td {
557558
}
558559
559560
.is-playing {
560-
-ms-overflow-style: none; /* IE and Edge */
561+
-ms-overflow-style: none; /* Edge */
561562
scrollbar-width: none; /* Firefox */
562563
}
563-
564564
</style>

0 commit comments

Comments
 (0)