Skip to content

Commit a6b1136

Browse files
authored
fix(VProgressLinear): accept pointer events unless clickable is used (#21691)
resolves #21690
1 parent 8582575 commit a6b1136

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/vuetify/src/components/VProgressLinear/VProgressLinear.sass

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
width: 100%
2929
transition-property: width, left, right
3030
transition: inherit
31-
31+
3232
@media (forced-colors: active)
3333
.v-progress-linear__buffer
3434
background-color: highlight
@@ -40,11 +40,14 @@
4040
height: 100%
4141
justify-content: center
4242
left: 0
43-
pointer-events: none
4443
position: absolute
4544
top: 0
4645
width: 100%
4746

47+
.v-progress-linear--clickable
48+
.v-progress-linear__content
49+
pointer-events: none
50+
4851
.v-progress-linear__determinate,
4952
.v-progress-linear__indeterminate
5053
background: $progress-linear-background

packages/vuetify/src/components/VProgressLinear/VProgressLinear.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export const VProgressLinear = genericComponent<VProgressLinearSlots>()({
121121
'v-progress-linear--rounded': props.rounded,
122122
'v-progress-linear--rounded-bar': props.roundedBar,
123123
'v-progress-linear--striped': props.striped,
124+
'v-progress-linear--clickable': props.clickable,
124125
},
125126
roundedClasses.value,
126127
themeClasses.value,

0 commit comments

Comments
 (0)