capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

Action Sheet should be dismiss-able via back gesture or button.

Open patrickjquinn opened this issue 3 years ago • 2 comments

Feature Request

Plugin

action-sheet

Description

The actionsheet plugin should hook the back actions on Android.

Platform(s)

Android.

Preferred Solution

When a user gestures or presses back on Android, the action sheet should dismiss.

Alternatives

None right now

Additional Context

This is default behaviour on native application action sheets.

patrickjquinn avatar May 23 '22 14:05 patrickjquinn

Alternatively, if there was an API to allow checking if an action-sheet is displayed currently, we could hook the back actions ourself.

patrickjquinn avatar Jun 07 '22 16:06 patrickjquinn

I'm now getting a lot of bug reports from my users referring directly to the low hit zone of options in the sheet, lack of back gesture support and separation between normal and destructive / cancel elements. It's at the point where I need to build my own as this plugin isn't fit for purpose on Android.

patrickjquinn avatar Jul 18 '22 10:07 patrickjquinn