Skip to content

[popup] Consider to dispatch show event as the first step of showPopup #579

Closed
@smaug----

Description

@smaug----

Currently there is

  1. Move the pop-up to the top layer, and remove the UA display:none style.
  2. Fire the show event, synchronously.

I'd expect show event to be cancelable (though such behavior could be added later too, assuming firing show is the first step).
Is there any reason for the current behavior?

@emilio

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