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

Panel menu with submenu expanded by itself when in sideBar #10963 #12173

Closed
majkers opened this issue Nov 10, 2022 · 0 comments · Fixed by #11367
Closed

Panel menu with submenu expanded by itself when in sideBar #10963 #12173

majkers opened this issue Nov 10, 2022 · 0 comments · Fixed by #11367
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@majkers
Copy link

majkers commented Nov 10, 2022

Describe the bug

PanelMenu's subMenu expanded by itself when placed inside sideBar
Continuation of #10963

Environment

Angular 14.2.10 so as PrimeNg 14.2.1

Reproducer

https://stackblitz.com/edit/angular-ivy-2l4wfz?file=package.json

Angular version

14.2.10

PrimeNG version

14.2.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

14.17.3

Browser(s)

All

Steps to reproduce the behavior

  1. Click button with "Click me" label and do nothing more
  2. Close sideBar by click X icon or by clicking somewhere outside sidebar
  3. Click button "Click me" once again
    "M4. enu two" is being expanded by itself with icon > wrongly indicating its state

Expected behavior

Submenu should not be expanded casue none clicked it...

@majkers majkers added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 10, 2022
@majkers majkers changed the title Panel menu with submenu expanded by itself when in sideBar #10963Component: Title Panel menu with submenu expanded by itself when in sideBar #10963 Nov 10, 2022
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 26, 2023
@cetincakiroglu cetincakiroglu added this to the 15.1.2 milestone Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants