Commit fb4a6c4e authored by Carlos's avatar Carlos

Resolve #8: remove console

parent 8ed8b487
...@@ -82,7 +82,6 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef ...@@ -82,7 +82,6 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef
this.startY = e["pageY"] || e.touches[0].pageY; this.startY = e["pageY"] || e.touches[0].pageY;
this.currentY = this.startY; this.currentY = this.startY;
const top = this.container.getBoundingClientRect().top || this.container.getBoundingClientRect().y || 0; const top = this.container.getBoundingClientRect().top || this.container.getBoundingClientRect().y || 0;
console.log("this.startY - top", this.startY - top, triggerHeight);
if (this.startY - top > triggerHeight) { if (this.startY - top > triggerHeight) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment