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 30, 2018
1 parent 3f1b18a commit f228013
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 f228013

Please sign in to comment.