react-native-menu
react-native-menu copied to clipboard
FlatList with MenuDrawer
code:
<MenuDrawer drawerContent={drawerContent()}...>
<FlatList/>
</MenuDrawer>
const drawerContent = () => {
return (
//some filters
);
};`
in this case there is a bug - flatlist is not all visible and cannot be scrolled to the end
if i put Flat list outside of MenuDrawer like this:
<>
<MenuDrawer drawerContent={drawerContent()} ...></MenuDrawer>
<FlatList/>
</>
then drawer content is behind the FlatList on ios devices (I tried zIndex 0 on flatList and 1000 to drawerContent but doesn't help)