Navbar closing item after click

Post Reply
vertical-dev
Posts: 2
Joined: 25 Nov 2022, 10:23

30 Nov 2022, 12:29

Hi,
I've recently purchased the license for PrimeNG PrimeBlocks and I'm facing an issue with the behavior of the nav-bar component. If i use a nested menu component, like CUSTOMERS in your example, and I click on the first element, where i'm placing a router link to a page, the element still present on the page and do not close. I have to click outside the element to make it disappear (thanks to the property [hideOnOutsideClick]="true").
Is there a way/property to automatically close the menu item after the user click on it?

Thanks in advance.

Fabio

cetincakiroglu
Posts: 113
Joined: 17 Dec 2021, 09:33

06 Jan 2023, 09:42

Hi,

Could you please share a screenshot or screencast so we can identify the problem?

Post Reply

Return to “PrimeBlocks for PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest