Commit 6f62c93a authored by 李勇諭's avatar 李勇諭

fix some time error happened

parent 08aea5d6
...@@ -144,8 +144,10 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef ...@@ -144,8 +144,10 @@ export class PullToRefresh extends React.Component<PullToRefreshProps, PullToRef
private initContainer() { private initContainer() {
requestAnimationFrame(() => { requestAnimationFrame(() => {
this.container.style.overflow = "auto"; if (this.container) {
this.container.style.transform = "none"; this.container.style.overflow = "auto";
this.container.style.transform = "none";
}
}); });
} }
......
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