TieredMenu not work with [popup]="false"

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
alexander.traut
Posts: 1
Joined: 28 Mar 2023, 16:25

28 Mar 2023, 16:44

The TieredMenu don't want to close or open if [popup]="false". The Menu is always present, the toggle() also not work. Maybe the code in components/tieredmenu/tieredmenu.ts:
Line 487 is the reason for this Problem. The same code with [popup]="true", works very good, but I will make that my submenu opens by click and not by hover, for responsive design, usable for touch only displays.

Code: Select all

  
onLeafClick() {
   if (this.popup) {
       this.hide();
   }

   this.unbindDocumentClickListener();
}

Post Reply

Return to “PrimeBlocks for PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests