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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user