Skip to content

Commit f0dc1f0

Browse files
committed
fix: reset clip-path when highlighting is disabled in VTour component
1 parent b82f7a4 commit f0dc1f0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
},
6868
"dependencies": {
6969
"jump.js": "^1.0.2",
70-
"nanopop": "^2.4.2",
70+
"nanopop": "^2.4.2"
71+
},
72+
"peerDependencies": {
7173
"vue": "^3.5.22"
7274
},
7375
"devDependencies": {

src/components/VTour.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ const updateHighlight = (): void => {
411411
412412
// Check if highlighting is disabled or no step data
413413
if (!currentStepData || (!props.highlight && !currentStepData.highlight)) {
414+
// Reset clip-path when highlighting is disabled
415+
getClipPath.value = '';
414416
return;
415417
}
416418

0 commit comments

Comments
 (0)