hideOnOutsideClick in navbar for Tablet/Mobile View does not work

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
tjohnsen
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

mert.sincan
Posts: 5281
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,

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

22 Jul 2022, 09:21

Hi,
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?

habubey
Posts: 89
Joined: 24 Aug 2022, 13:17

03 Oct 2022, 13:54

Hello,
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.
Bugra Beyduz
PrimeReact Core Developer
Github profile: https://github.com/habubey

Nargzul
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

habubey
Posts: 89
Joined: 24 Aug 2022, 13:17

03 Oct 2022, 14:03

Thank you for your response, glad to hear that!
Bugra Beyduz
PrimeReact Core Developer
Github profile: https://github.com/habubey

jaguar32
Posts: 1
Joined: 24 Dec 2022, 10:19

09 Jan 2023, 11:42

Nargzusl wrote:
23 Jun 2495, 20:55
Hi,
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?
Get started with the dropdown component to show a list of menu items when clicking on the trigger element based on multiple layouts, styles, and placements
This is where you can find phenq at best price

Post Reply

Return to “PrimeBlocks for PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests