You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My own investigation:
I suspect this is a Skia bug https://issues.skia.org/issues/379330016, but an easy fix is to use the recommended way to implement backdrop blur. That is to pass in a paint to saveLayerRect rather than a ImageFilter here .
Other relevant things:
My project is on
"@shopify/react-native-skia": "0.1.241",
"react": "18.3.1",
"react-native": "0.75.4"
and Fabric is not enabled
There is a glassmorphism example in RNSkia https://www.youtube.com/watch?v=ao2i_sOD-z0 , it demonstrates the same above mentioned behavior for me. I wonder if it is working for others
The text was updated successfully, but these errors were encountered:
I created a simple repo for this https://github.com/jack-beanstalk-2022/RNSkia-BackdropFilter-Error
All it does is render a red transparent circle on top of a blue opaque circle and set the backdrop filter to blur = 12.
The result I got on Android & IOS simulator:
The result I got using similar code on Web:
My own investigation:
I suspect this is a Skia bug https://issues.skia.org/issues/379330016, but an easy fix is to use the recommended way to implement backdrop blur. That is to pass in a paint to saveLayerRect rather than a ImageFilter here .
Other relevant things:
My project is on
"@shopify/react-native-skia": "0.1.241",
"react": "18.3.1",
"react-native": "0.75.4"
and Fabric is not enabled
There is a glassmorphism example in RNSkia https://www.youtube.com/watch?v=ao2i_sOD-z0 , it demonstrates the same above mentioned behavior for me. I wonder if it is working for others
The text was updated successfully, but these errors were encountered: