Shubham Singh
02/05/2023, 2:55 PMWebkitAppearance
inside the sx
block in MUI components in Kotlin/JS?
I'm able to use backdropFilter = brightness(0.5)
but that only works on desktop browsers and not on mobile browsers, and it looks like for mobile/webkit devices, we might need to use -webkit-backdrop-filter
and then give it the same effect we used before. Inside sx {}
, I'm only able to find something called WebkitAppearance
that I'm not sure how to use to achieve the desired effect.turansky
02/05/2023, 5:26 PMIs there a code example that shows how to changeinside theWebkitAppearance
block in MUI components in Kotlin/JS?sx
sx {
WebkitAppearance = none
}
?we might need to useYou can declare custom local extension, like this:and then give it the same effect we used before-webkit-backdrop-filter
package csstype
var Properties.strokeDasharray: Length?
get() = asDynamic().strokeDasharray
set(value) {
asDynamic().strokeDasharray = value
}
and report issue in parallel.Shubham Singh
02/06/2023, 4:11 AM