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

OverlayPanel: Clicking inside nested content closes overlay. #5739

Open
andrewsm80 opened this issue May 14, 2024 · 0 comments
Open

OverlayPanel: Clicking inside nested content closes overlay. #5739

andrewsm80 opened this issue May 14, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@andrewsm80
Copy link

andrewsm80 commented May 14, 2024

Describe the bug

Clicking inside a nested OverlayPanel unexpectedly closes the panel and its parent panels, if it is nested 3 or more levels.

Reproducer

https://stackblitz.com/~/github.com/andrewsm80/OverlayPanelTest

PrimeVue version

3.52.0

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Click "Toggle A", revealing the first overlay.
  2. Click "Toggle B", revealing the next overlay.
  3. Click "Toggle C", revealing the next overlay.
  4. Click inside the last overlay.
  5. Observe that all the overlays have unexpectedly closed.

Expected behavior

  1. Click "Toggle A", revealing the first overlay.
  2. Click "Toggle B", revealing the next overlay.
  3. Click "Toggle C", revealing the next overlay.
  4. Click inside the last overlay.
  5. All overlays should remain open.
@andrewsm80 andrewsm80 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant