menu
menu copied to clipboard
actions divider for iOS
adding an actions divider to organize each action would be cool.
+1
You can achieve this already by creating a menu action with a blank title and displayInline set to true, then adding subactions for the items you want displayed after the divider line. Not sure if this works for Android. I believe this is the way it's done with native iOS code.
E.g
{ id: 'divider1', title: '', displayInline: true, subactions: [ { id: 'menuItem1', title: 'Menu item', ... }, ] },
Thanks @aciaschetti for the suggestion!
Unfortunately on Android appears as a blank item so not usable.
Would be great if this can be introduced by the library