menu icon indicating copy to clipboard operation
menu copied to clipboard

actions divider for iOS

Open kayode0x opened this issue 3 years ago • 3 comments

adding an actions divider to organize each action would be cool.

IMG_EA218DA229E7-1

kayode0x avatar Dec 11 '21 06:12 kayode0x

+1

marcoizzo avatar May 22 '24 15:05 marcoizzo

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', ... }, ] },

aciaschetti avatar Jun 07 '24 08:06 aciaschetti

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

marcoizzo avatar Jun 11 '24 13:06 marcoizzo