Skip to content

Commit

Permalink
Merge pull request #16077 from bjsawyer/patch-1
Browse files Browse the repository at this point in the history
fix(tieredmenu): show submenu on mouse hover
  • Loading branch information
cetincakiroglu authored Jul 25, 2024
2 parents 40c486a + af7bc30 commit 62cde62
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 @@ -706,6 +706,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 62cde62

Please sign in to comment.