hideOnOutsideClick in navbar for Tablet/Mobile View does not work

Post Reply
Posts: 5
Joined: 06 Oct 2021, 19:05

14 Jul 2022, 20:24

Hello - in reference to the Primeblocks navigation code - is there anyway to get the "hideOnOutsideClick" to work in the smaller width, when it operates as a drop down

Issue -

Go to https://www.primefaces.org/primeblocks- ... ion/navbar
Minimize the screen so the menu style changes to drop down
Open sub menu drop down
Click on another menu item
DropDown remains open from previous selection and does not close

Is there anyway to close the menu that is not active - this works in full mode

Posts: 5211
Joined: 29 Jun 2013, 12:38

18 Jul 2022, 11:25

Thanks a lot for the feedback! I'll talk about it with our team and get back to you.

Best Regards,

Posts: 23
Joined: 21 Apr 2017, 14:30

22 Jul 2022, 09:21

I've the same kind of issue. I'm not sure why, but it seems to work on the PrimeBlock "Dim Sidebar with Topbar" block, but once I copied the code, I can't manage to make it work with my code, the menu just doesn't close. Is there something to declare somewhere?

Posts: 29
Joined: 24 Aug 2022, 13:17

03 Oct 2022, 13:54

If you are still facing the issue with "Dim Sidebar with Topbar" or any Blocks please let us know.
We are gladly happy to assist you.

Posts: 23
Joined: 21 Apr 2017, 14:30

03 Oct 2022, 13:56

I solved the issue. It appears that the code provided(when you can click on "copy") for this demo is not the same as the real code used

Posts: 29
Joined: 24 Aug 2022, 13:17

03 Oct 2022, 14:03

Thank you for your response, glad to hear that!

Post Reply

Return to “PrimeBlocks for PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest