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+BlockUI: incorrect z-index #7002

Open
Skstud5 opened this issue Dec 25, 2024 · 3 comments
Open

Menubar+BlockUI: incorrect z-index #7002

Skstud5 opened this issue Dec 25, 2024 · 3 comments
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Milestone

Comments

@Skstud5
Copy link

Skstud5 commented Dec 25, 2024

Describe the bug

In the mode when "Menubar" is not "mobile", "BlockUI" overlaps "MenubarSub"
image
But it works correctly when it's in the form of a hamburger.
image
However, if you switch to "hamburger" and back, sometimes it starts to behave correctly
image

Reproducer

https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-izqq3yo8?file=src%2FApp.vue

PrimeVue version

4.1.1

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome 131

Steps to reproduce the behavior

  1. Create a BlockUI with content
  2. Create a Menubar so that the number of elements in MenubarSub is such that it reaches the content from BlockUI

Expected behavior

In both cases, the Menubar needs to overlap the BlockUI.

@Skstud5 Skstud5 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 25, 2024
@Skstud5
Copy link
Author

Skstud5 commented Dec 25, 2024

With all this, the Menubar itself is not in BlockUI, but the MenubarSub is overlapped.

@cagataycivici cagataycivici added the Resolution: Help Wanted Issue or pull request requires extra help and feedback label Dec 27, 2024
Copy link

Due to PrimeVue team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@cagataycivici
Copy link
Member

Tip for contributors: Solution is to add baseZIndex and autoZIndex as in Menu component to resolve this.

@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Dec 27, 2024
@cagataycivici cagataycivici added this to the Future milestone Dec 27, 2024
@cagataycivici cagataycivici removed the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Dec 27, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
Status: Review
Development

No branches or pull requests

2 participants