Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Popover] popover is not closed on contextmenu event if it's DOM element is not button #3212

Open
eLeontev opened this issue May 29, 2019 · 0 comments

Comments

@eLeontev
Copy link

Type: defect;
version ngbBootstrap: latest
Browser to reproduce: Chrome (did not checked on other)
Preconditions:

  1. create multiple popovers with custom triggers on contextmenu event (right click action)
  2. set at least one of the DOM element with popover like DIV (any !== Button )

Steps to reproduce: right clicks between elements with popovers

Actual result: displayed popover is closed only on right click to outside of it only if its element is Button
Expected result: popover should always closes on right click outside. No matter its element type.

Example: https://stackblitz.com/edit/angular-emylps

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

No branches or pull requests

2 participants