Replies: 2 comments 1 reply
-
Actually, the shadow is rendered. I don't know what's the initial reason why it wasn't there, but now it's working. Excuse me for bothering you! |
Beta Was this translation helpful? Give feedback.
1 reply
-
To use the latest version of the library with Expo, you'll need to install the latest version and run an Expo prebuild to generate the new native bundle. You can find more information here: https://docs.expo.dev/workflow/continuous-native-generation/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following working svg image:
I want to translate that code to react-native-svg. The image consists of two elements - an ellipse and a path. Both have shadows implemented with filters. The ellipse's shadow is rendering well, but the path's shadow is missing. Their filters are identical. This is the translated source code:
The reason for not rendering the shadow is probably because "FeBlend" and/or "FeFlood" are not entirely implemented as the terminal log warns:
"react-native-svg": "15.8.0"
"expo": "~52.0.9"
Can you suggest any alternative solution to the problem, please?
P.S. I just saw that from "15.9.0"
FeDropShadow
filter is supported but haven't tried it yet. Unfortunately the current expo version (52.0.23) is shipped with react-nateive-svg: 15.8.0 and I don't know how to upgrade the library only.Beta Was this translation helpful? Give feedback.
All reactions