@@ -153,7 +153,7 @@ export const VProgressLinear = genericComponent<VProgressLinearSlots>()({
153153 style = { [
154154 backgroundColorStyles . value ,
155155 {
156- opacity : parseFloat ( props . bgOpacity ! ) ,
156+ opacity : props . bgOpacity != null ? parseFloat ( props . bgOpacity ) : undefined ,
157157 width : props . stream ? 0 : undefined ,
158158 } ,
159159 props . indeterminate ? { } : splitStyles . value ?. background ,
@@ -213,7 +213,7 @@ export const VProgressLinear = genericComponent<VProgressLinearSlots>()({
213213 ...textColorStyles . value ,
214214 [ isReversed . value ? 'left' : 'right' ] : convertToUnit ( - height . value ) ,
215215 borderTop : `${ convertToUnit ( height . value / 2 ) } dotted` ,
216- opacity : parseFloat ( props . bufferOpacity ! ) ,
216+ opacity : props . bufferOpacity != null ? parseFloat ( props . bufferOpacity ) : undefined ,
217217 top : `calc(50% - ${ convertToUnit ( height . value / 4 ) } )` ,
218218 width : convertToUnit ( 100 - normalizedBuffer . value , '%' ) ,
219219 '--v-progress-linear-stream-to' : convertToUnit ( height . value * ( isReversed . value ? 1 : - 1 ) ) ,
@@ -231,7 +231,7 @@ export const VProgressLinear = genericComponent<VProgressLinearSlots>()({
231231 style = { [
232232 bufferColorStyles . value ,
233233 {
234- opacity : parseFloat ( props . bufferOpacity ! ) ,
234+ opacity : props . bufferOpacity != null ? parseFloat ( props . bufferOpacity ) : undefined ,
235235 width : convertToUnit ( bufferWidth . value , '%' ) ,
236236 } ,
237237 splitStyles . value ?. buffer ,
0 commit comments