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

Menubar component doesn't work with shadow dom #7254

Open
1 of 4 tasks
hpalma opened this issue Feb 13, 2025 · 0 comments
Open
1 of 4 tasks

Menubar component doesn't work with shadow dom #7254

hpalma opened this issue Feb 13, 2025 · 0 comments
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Milestone

Comments

@hpalma
Copy link

hpalma commented Feb 13, 2025

Describe the bug

Menubar component when clicked attaches the menu panel to the body. This makes it not compatible with shadow dom.
It should support appendTo like other components already do to allow attaching to self.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/dj98txgi

Environment

Any environment

Vue version

3.5.13

PrimeVue version

4.2.5

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

Just use the

Expected behavior

Just use the Menubar component, you'll see that the content panel is added to the body element.

@hpalma hpalma added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 13, 2025
@tugcekucukoglu tugcekucukoglu added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 20, 2025
@tugcekucukoglu tugcekucukoglu added this to the Future milestone Feb 20, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
Status: Review
Development

No branches or pull requests

2 participants