1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 14:21:23 +00:00

isPro lock file (#3149)

* isPro lock file

* scroll to bottom
This commit is contained in:
Michael An
2019-03-20 15:53:31 +08:00
committed by Daniel Pan
parent 1c417e9e71
commit c61e6354d9
2 changed files with 16 additions and 10 deletions

View File

@@ -41,7 +41,10 @@ class ReviewComments extends React.Component {
commentsList: commentList
});
if (scroll) {
this.refs.commentsList.scrollTo(0, 10000);
let that = this;
setTimeout(() => {
that.refs.commentsList.scrollTo(0, 10000);
}, 100);
}
});
}