borderRadius on card child items not rotating when swiping
See original GitHub issueI have some elements in my card that are just <View>
s with a <Text>
in them. However when I add a borderRadius
of 2 to the views, the borders don’t rotate as the card is swiped. Any ideas what could be causing this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Flutter BorderRadius of Card doesn't apply for child
I have the follwing code and I wonder how to make Container take the Cards BorderRadius? The only way I know is to...
Read more >Layers » Border radius
Border radius. The borderRadius property rounds the corners of a layer and is defined in points. Here's an example of a button with...
Read more >flutter cart example
Everything is working good but I am getting duplicate items in my cart list, How can I ... How to add Border Radius...
Read more >Untitled
A parent element with three child elements. flip-horizontally { transform: scaleX(-1); } ... Jan 11, 2021 · CSS Flip Card jQuery Click Event...
Read more >How to Build React Native Swipe Cards Inspired by Tinder
At Instamobile, we built a Tinder cards component in React Native, ... I hope you are not new to React Native because we...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the same problem when trying add an rounded image inside a rounded card. There is a known issue with overflow and borderRadius in React Native: https://github.com/facebook/react-native/issues/16093
My workaround was to wrap the image inside a rounded view and only apply
overflow: 'hidden'
for iOS. Something like this:Content for renderCard prop:
Styles:
@alexbrillant / @matt-way I think we can close this down as it is a known RN issue and we already have a solution for it.