Skip to content

feat: dismiss sheet with back button on android #1110

Open
@hirbod

Description

@hirbod

Feature Request

I'd like to be able to dismiss/close an open bottom sheet with the hardware back button on Android.

Why it is needed

Currently, the hardware back button on android does not close an open bottom sheet, instead it performs action behind the sheet (eg navigation)

Possible implementation

Add a optional prop, like enableAndroidBackButtonListener

Code sample

Add a optional prop, like enableAndroidBackButtonListener

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions