Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Spec] Add IsBackButtonEnabled to Popup API #1363

@SkyeHoefling

Description

@SkyeHoefling

Add IsBackButtonEnabled to Popup API

In the Popup API there is no way to specifically control Android's hardware back button and how it interacts with the popup. Currently if the hardware back button is used the popup will act as if it is light dismissed. We should add granular control to turn the hardware back button on and off.

Add new attached property for android that enables/disables the hardware back button for dismissing Popups

API

Popup - Android Attached Property

Properties

API Description
IsBackButtonEnabled Gets or sets if the hardware back button is enabled. If true the hardware back button will light dismiss the popup. If false the hardware back button won't cause any action to the popup.

This should be implemented as an attached property

Events

N/A

Scenarios

Platform Compatibility

  • Target Frameworks:
    • iOS: N/A
    • Android: ✅
    • UWP: N/A

Backward Compatibility

N/A

Difficulty : low

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions