Skip to content

Commit

Permalink
fix(module: pulltorefresh): fix drag up touch bug (NG-ZORRO#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuonuoge authored and 3fuyu committed Oct 15, 2018
1 parent f2bbdfb commit 8b905cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pull-to-refresh/pull-to-refresh.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class PullToRefreshComponent {
this.state.drag = undefined;
} else {
this.startY = e && e.changedTouches && e.changedTouches[0] && e.changedTouches[0].clientY;
this._clientHeight = this._pullToRefresh.element.nativeElement._clientHeight;
this._clientHeight = this._pullToRefresh.element.nativeElement.clientHeight;
this._currentContentHeight = document.getElementsByTagName('pulltorefresh')[0].clientHeight;
}
this.transtionCls = '';
Expand Down

0 comments on commit 8b905cc

Please sign in to comment.