Topbar menu with submenus always open

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
aripdcom
Posts: 8
Joined: 23 Dec 2016, 09:14

11 Aug 2021, 12:33

Hi,
In case I missed something I tried to regenerate the bug in main Avalon template downloaded from PrimeStore.
I have just added below menu item which links to an available page.

Code: Select all

<li role="menuitem">
  <p:link outcome="/input">
    <i class="pi pi-fw pi-check-square"/>
    <span>Input</span>
  </p:link>
</li>
I always get an open menu, and it doesn't hide even I clicked mouse out of the topmenu. Here is the screenshot for your reference.

https://we.tl/t-NLB7Jxfmge

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

12 Aug 2021, 08:28

Hi,

I released a new version. Please download and try new one.

Best Regards,

aripdcom
Posts: 8
Joined: 23 Dec 2016, 09:14

12 Aug 2021, 09:10

Hi siris,
Thanks. Is there only change here, in layout.js?

old

Code: Select all

var link = this.menu.find('a[href^="' + this.cfg.pathname + '"]');
new

Code: Select all

var link = $('a[href^="' + this.cfg.pathname + '"]');

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

13 Aug 2021, 06:49

Hi,

Yes, that's the only change in layout.js. But we've also updated some demo pages.

Best Regards,

Post Reply

Return to “Avalon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests