1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

File move to list view and inaccurate refresh after moving

This commit is contained in:
zxj96
2019-05-05 17:20:37 +08:00
parent 7c1cacc9ed
commit 00c35d011f
4 changed files with 72 additions and 5 deletions

View File

@@ -141,6 +141,11 @@ class LibContentContainer extends React.Component {
onItemsScroll = (e) => {
let target = e.target;
if (target.scrollTop === 0) {
return;
}
if (target.scrollTop + target.clientHeight + 1 >= target.scrollHeight) {
this.props.onListContainerScroll();
}