Skip to content

[popover] Can we implement cancel event? #1206

Open
@thdoan

Description

@thdoan

Currently, the Popover API doesn't allow for a way to cancel a popover closing event, so it can lead to issues if the user has an unsaved state inside the popover. This pen demonstrates this:

https://codepen.io/thdoan/pen/jEELBXm

It would be nice to have a cancelable cancel event similar to standard dialogs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    popoverThe Popover API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions