admin管理员组文章数量:1208155
CurvedBottomTab
I am implementing an animated bottom tab with a cutout using d3-shape and react-native-reanimated following a guide from a GitHub repository:
The code works fine on iOS but does not work well on Android:
shadowMd: {
elevation: 3,
shadowColor: '#000',
shadowOpacity: 0.2,
shadowRadius: 3,
shadowOffset: {width: 0, height: 3},
},
After learning that React Native 0.76 supports boxShadow on both Android and iOS, I decided to recreate the project using React Native 0.76.
The issue I am facing is that the boxShadow does not fit snugly around the cutout part of the SVG. I have tried using StyleSheet.absoluteFillObject but it did not work.
I want boxShadow working well on both Android and IOS with SVG
本文标签: cssboxShadow on React Native 076 not working well with the SVG componentStack Overflow
版权声明:本文标题:css - boxShadow on React Native 0.76 not working well with the SVG component - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738760178a2110912.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论