pedreviljoen / react-native-menu

Simple & lightweight customisable menu drawer component
MIT License
57 stars 16 forks source link

Nested Menu Drawers not working in Android #89

Closed Aaqib925 closed 2 years ago

Aaqib925 commented 3 years ago

In ANDROID One Menu Drawer as a children of another Menu drawer and whole screen will be covered by overlay,

To Reproduce Steps to reproduce the behavior:

  1. Create one MenuDrawer component with respective states and drawerContent properties.
  2. Create second Menu Drawer as a children of first Menu Drawer.
  3. Open the first MenuDrawer.
  4. The whole screen will be covered by overlay, but child MenuDrawer is working fine.

Expected behavior Expect to work with nested MenuDrawers like it's working like a charm in iOS.

<MenuDrawer
            open={isMenuDrawerOpen}
            drawerContent={drawerContent()}
            drawerPercentage={45}
            animationTime={250}
            position={'left'}
            overlay={true}
            opacity={0.4}>
            <MenuDrawer
                open={isNotificationDrawerOpen}
                drawerContent={NotifcationDrawerContent()}
                drawerPercentage={45}
                animationTime={250}
                position={'right'}
                overlay={true}
                opacity={0.4}>
             </MenuDrawer>
</MenuDrawer>

Screenshots processed processed (1)

Smartphone

pedreviljoen commented 3 years ago

@Aaqib925 Will have a look 👍