mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
Solve browser scaling bugs
This commit is contained in:
@@ -141,7 +141,7 @@ class LibContentContainer extends React.Component {
|
||||
|
||||
onItemsScroll = (e) => {
|
||||
let target = e.target;
|
||||
if (target.scrollTop + document.documentElement.clientHeight - target.offsetTop >= target.scrollHeight) {
|
||||
if (target.scrollTop + target.clientHeight + 1 >= target.scrollHeight) {
|
||||
this.props.onListContainerScroll();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user