Description
Thanks for the amazing library. I'm not sure if this is more of a bug or a feature. But I have the following issue:
I need to apply overflow: 'visible' on the FlashList in order to achieve the following design 👇
Currently, this is implemented with FlatList
<FlatList
style={{ overflow: 'visible', backgroundColor: 'red' }}
...rest
As you can see, the "masks" need to overflow the list.
Here is the result when using FlashList
<FlashList
style={{ overflow: 'visible', backgroundColor: 'red' }}
{...rest}
Overflow doesn't work, and masks are cut
Current behavior
overflow: 'visible' doesn't do anything. I tried to put it on every style prop of the Flashlist, but it doesn't work
Expected behavior
Reproduction
In the renderItem I'm rendering the mask and the card. The masked is taking the size of the card and I'm applying scale 1.25
{
position: 'absolute',
left: '50%',
top: '50%',
transform: [{ translateX: '-50%' }, { translateY: '-50%' }, { scale: 1.25 }],
}
Expo Snack or minimal reproduction link:
Platform
Environment
React Native info output:
FlashList version:
Additional context
Checklist
Description
Thanks for the amazing library. I'm not sure if this is more of a bug or a feature. But I have the following issue:
I need to apply
overflow: 'visible'on theFlashListin order to achieve the following design 👇Currently, this is implemented with
FlatListAs you can see, the "masks" need to overflow the list.
Here is the result when using
FlashListOverflow doesn't work, and masks are cut
Current behavior
overflow: 'visible'doesn't do anything. I tried to put it on every style prop of the Flashlist, but it doesn't workExpected behavior
Reproduction
In the
renderItemI'm rendering the mask and the card. The masked is taking the size of the card and I'm applying scale1.25Expo Snack or minimal reproduction link:
Platform
Environment
React Native info output:
FlashList version:
Additional context
Checklist