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: Menubar submenu shows wrong appearance and behaviour when drawn over a ScrollPanel component #6867

Closed
DomenicoMammola opened this issue Jul 10, 2024 · 1 comment · Fixed by #6869, leoo1992/GeradorQRCode#80 or leoo1992/GeradorQRCode#85 · May be fixed by mtech-31-quemistry/quemistry_client_web#20
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Type: Bug Issue contains a defect related to a specific component.

Comments

@DomenicoMammola
Copy link

Describe the bug

Hi,
if a Menubar is put before a ScrollPanel, when the submenu is displayed it looks transparent and cannot be clicked or sometimes it is drawn below the ScrollPanel.
I've reproduced the first case in the stackblitz project. You must enlarge the preview panel or you have to open the preview in a new tab of the browser.

menubar_over_scrollpanel
menubar_over_scrollpanel_2

Reproducer

https://stackblitz.com/edit/qudcfu?file=src%2FApp.tsx

PrimeReact version

10.7.0

React version

17.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Click on a MenuItem of a MenuBar which have a submenu.

Expected behavior

The submenu should be shown opaque, all items should be visible and clickable.

@DomenicoMammola DomenicoMammola added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 10, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. good first issue *** Welcome to PrimeReact Family! *** Good issue! and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 10, 2024
@Rekl0w
Copy link
Contributor

Rekl0w commented Jul 11, 2024

PR submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
3 participants