Open pnthach95 opened 1 year ago
I experience similar visual weirdness with a Card component.
Hey @RohovDmytro, could you please also attach your example, to make sure that we'll fix both issues?
Hi @lukewalczak, I updated my snack with Card component.
Hello, any update on this behavior ? I'm encountering the same with last version
I am also seeing this behavior, not sure how to fix it.
Current behaviour
I have this item on horizontal flatlist.
Items have different height, so I set
flexGrow: 1
inTouchableRipple
. But it only works on Android. On iOS, it doesn't grow to fill like Android.Card component has same bug.
Expected behaviour
View inside
Surface
should fill all whenflexGrow: 1
is setHow to reproduce?
https://snack.expo.dev/@pnthach95/surfaceios
Preview
Android
iOS
What have you tried so far?
I set
flex: 1
at this line https://github.com/callstack/react-native-paper/blob/198c4889357a8794ce7338c244fe5541ce5864a7/src/components/Surface.tsx#L205Your Environment