Skip to content

Commit

Permalink
fix(tieredmenu): show submenu on mouse hover
Browse files Browse the repository at this point in the history
Fixes #13512
  • Loading branch information
bjsawyer authored Jul 22, 2024
1 parent 98f9682 commit af7bc30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/components/tieredmenu/tieredmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,9 @@ export class TieredMenu implements OnInit, AfterContentInit, OnDestroy {

onItemMouseEnter(event: any) {
if (!DomHandler.isTouchDevice()) {
if (this.autoDisplay) {
this.dirty = true;
}
if (this.dirty) {
this.onItemChange(event);
}
Expand Down

0 comments on commit af7bc30

Please sign in to comment.