dominicstop / react-native-ios-context-menu

A react-native component to use context menu's (UIMenu) on iOS 13/14+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flatlist Render Issue

timothyerwin opened this issue · comments

Hey, great library. Very nice with a lot of examples. I'm just having some issue getting a basic context working with a FlatList. I was wondering if maybe you saw this before and could offer any tip?

Basically everything is good until I long press and then this happens. I basically just copied the code from this example: https://github.com/dominicstop/react-native-ios-context-menu/blob/master/example/src/screens/Test03Screen.tsx

Simulator Screenshot - iPhone 14 - 2023-07-04 at 14 24 36

If I put a View around it then it sort of fixes it but still doesn't seem to calculate the renders properly:

Screenshot 2023-07-04 at 2 37 43 PM

simulator_screenshot_6629FAD5-2DFC-410A-B571-23A17846553A

Ok, nevermind...I figured it out. The style in context menu must match the border style of the message bubble.

Screenshot 2023-07-04 at 2 51 51 PM