1
0
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:
zxj96
2019-04-29 14:22:20 +08:00
parent ab218285ef
commit 701eec1adc

View File

@@ -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();
}
}