Skip to content

Commit

Permalink
fix: click event is stopped (NG-ZORRO#3262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell authored and Ricbet committed Apr 9, 2020
1 parent e6faa4b commit 978e5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/rate/nz-rate-item.component.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="ant-rate-star-second"
(mouseover)="hoverRate(false); $event.stopPropagation();"
(click)="clickRate(false); $event.stopPropagation();">
(click)="clickRate(false);">
<ng-template [ngTemplateOutlet]="character || defaultCharacter"></ng-template>
</div>
<div class="ant-rate-star-first"
(mouseover)="hoverRate(true); $event.stopPropagation();"
(click)="clickRate(true); $event.stopPropagation();">
(click)="clickRate(true);">
<ng-template [ngTemplateOutlet]="character || defaultCharacter"></ng-template>
</div>

Expand Down

0 comments on commit 978e5ea

Please sign in to comment.