mxck / react-native-material-menu

Pure JavaScript material menu component for React Native
MIT License
520 stars 92 forks source link

Not able to show view after doing an action from MenuItem #84

Closed Harsh2402 closed 4 years ago

Harsh2402 commented 4 years ago

When I click on MenuItem, then I am sowing alert dialog, then once the menu will hide, after pressing a MenuItem, then for the few secs, an alert is showing and then it also closed, as the model will close.

I have used this inside the Row component of Flatlist.

<Menu ...>
           <MenuItem 
                     onPress={() => {
                           alert("My View")
                           hideMenu()
                     }}>Click Me
           </MenuItem>
</Menu>
m-gautam commented 4 years ago

Found any solution for this?? @Harsh2402

mxck commented 4 years ago

This known bug. Check #68.