react-native-menu icon indicating copy to clipboard operation
react-native-menu copied to clipboard

FlatList with MenuDrawer

Open sjelena97 opened this issue 2 years ago • 0 comments

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)

sjelena97 avatar May 14 '22 12:05 sjelena97