Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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