Skip to content

feat: $ionicPopup.prompt should support Enter and Esc #4737

Closed
@gregallensworth

Description

@gregallensworth

Type: feat

Platform: all

$ionicPopup.prompt does not support the Enter and Escape key.

Enter is triggered by the Go/Enter button on the software keyboard, and expected behavior would be to click the OK button for you.

Escape is absent on software keyboards, but is useful for testing on desktop browsers. Support for Escape should be little trouble to implement and no additional overhead, once the keypress handling framework is in place. Expected behavior of pressing Escape, would be to click the Cancel button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions