I'm ok with the cancel button of ios but in android if I have a large list of options user cant tap outside of sheet to hide it.
To highlight the cancel button I have to mention it in the destructive option list which removes it as a cancel button from the ios and makes it a simple destructive button.
I'm ok with the cancel button of ios but in android if I have a large list of options user cant tap outside of sheet to hide it. To highlight the cancel button I have to mention it in the destructive option list which removes it as a cancel button from the ios and makes it a simple destructive button.
showActionSheetWithOptions( { options: opArr?.map(item => item.label), cancelButtonIndex: options?.length, destructiveButtonIndex: options?.length, destructiveColor: 'red', }, index => { opArr[index].onPress() }, )