Skip to content

Commit

Permalink
fix(module:menu): fix fold menu (#2454)
Browse files Browse the repository at this point in the history
close #2449
  • Loading branch information
ffey authored and vthinkxie committed Nov 24, 2018
1 parent 7d78f57 commit e41640a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/menu/nz-submenu.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
[class.ant-menu-submenu-placement-bottomLeft]="subMenuMode=='horizontal'"
[class.ant-menu-submenu-placement-rightTop]="(subMenuMode=='vertical')&&(placement=='rightTop')"
[class.ant-menu-submenu-placement-leftTop]="(subMenuMode=='vertical')&&(placement=='leftTop')"
[@expandAnimation]="expandState">
[@expandAnimation]="expandState"
(mouseleave)="onMouseLeaveEvent($event)"
(mouseenter)="onMouseEnterEvent($event)">
<ul
[class.ant-dropdown-menu]="isInDropDown"
[class.ant-menu]="!isInDropDown"
[class.ant-dropdown-menu-vertical]="isInDropDown"
[class.ant-menu-vertical]="!isInDropDown"
[class.ant-dropdown-menu-sub]="isInDropDown"
[class.ant-menu-sub]="!isInDropDown"
(mouseleave)="onMouseLeaveEvent($event)"
(mouseenter)="onMouseEnterEvent($event)">
[class.ant-menu-sub]="!isInDropDown">
<ng-template [ngTemplateOutlet]="subMenuTemplate"></ng-template>
</ul>
</div>
Expand Down

0 comments on commit e41640a

Please sign in to comment.