react-native-material-ui
react-native-material-ui copied to clipboard
Menu not working on ios
The Toolbar menu (as seen in the demo app) works on Android but not on IOS
Thank you @nsantini for report ..
Any progress on this issue?
Any idea when or if this feature is coming? would prefer not to get into custom modal code :)
Perhaps implementing this function on iOS as a no-op would be a good interim solution? It would stop the app from crashing. Thoughts?
Why don't you use this internally?
react-native-material-menu
Anyway, as workaround, anyone can use it as rightElement
of the toolbar and get the menu working
any updates on this issue? :)
@xotahal On iOS, we could use ActionSheetIOS to show native iOS menu. What do you think? https://facebook.github.io/react-native/docs/actionsheetios.html
Hey, any updates?
@janziemba It probably doesn't generate material design menu, does it? Anyway, there is probably no need to wrap RN's action sheet to our Menu component. If someone wants to use these Action Sheets it is easier to use it directly from RN ... At least I think :) We should rather fix this issue ...
Yes i can use custom component, but i need ability to set options menu, because i use search toolbar and this toolbar render search icon as last item on the right side and only "menu" prop can render some icon buttons as last item. I'm waiting for fix.
@xotahal Looks like what Google Drive and Docs do is similar to the ActionSheetIOS popup but in a different style.
I'm willing to help work on a fix for this issue.
Honestly, I agree with @FezVrasta's solution, the menu library there is more "material" looking than the default Android menu anyway
I've created a working version of react-native-material-menu integrated into react-native-material-ui, using the existing syntax for RightElement. You can view it on my fork. If the authors of this project feel it is good enough, I will make a pull request.
Hi, Any update on this issue?
+1
I've opened up a pull request that updates the project to use react-native-material-menu.