primeng icon indicating copy to clipboard operation
primeng copied to clipboard

MegaMenu: aria-hidden throws console error

Open rosenthalj opened this issue 6 months ago • 0 comments

Describe the bug

When resizing a page with a PrimeNG MegaMenu and then clicking on the MegaMenu the following error is displayed in the console:

Angular_MegaMenu_Component

This error can be reproduced using the PrimeNG MegaMenu demo.

The following video demonstrates the issue:

https://github.com/user-attachments/assets/fb1fcd7f-e350-4cc7-8c93-b8ce238a217f

Environment

macOS

Reproducer

https://primeng.org/megamenu

Angular version

18

PrimeNG version

17.8.9

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.20.3

Browser(s)

safari and chrome

Steps to reproduce the behavior

  1. Open the Browser's console
  2. Go to the PrimeNG MegaMenu demo: https://primeng.org/megamenu
  3. Resize the page (increase the size)
  4. Click on a MegaMenu option
  5. Error is displayed in the Browser's console

Expected behavior

No errors should be displayed in the console

rosenthalj avatar Aug 16 '24 12:08 rosenthalj