Box shadows on Native Views/Components #876
Unanswered
im-aliafzal
asked this question in
Q&A
Replies: 1 comment
-
We currently don't have access to the native pixel. I would be curious to know if there is a best practice there. It might be quite different between iOS and Android too. |
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 want to achieve this Shadow effects on renderItem of Flatlist like this
From my understanding, in order to make this work we have to wrap the whole screen with Canvas then we can generate this effect but then we are restricted to use only Skia Components.
I tried absolute Positioning the Canvas behind the renderItem but then It just clips the Shadow part.
Could you help me what is best way to develop components with Skia components and merge them with common React Native components?
Beta Was this translation helpful? Give feedback.
All reactions