Web: Common: Fixed the problem with showing header when scrolling down to the end of the page (ios)
This commit is contained in:
parent
bb8061cde2
commit
9f784aa76d
@ -38,6 +38,13 @@ class MobileLayout extends Component {
|
||||
|
||||
let visibleContent = prevScrollPosition >= currentScrollPosition;
|
||||
|
||||
if (
|
||||
currentScrollPosition >=
|
||||
this.documentElement.scrollHeight - this.documentElement.clientHeight
|
||||
) {
|
||||
visibleContent = false;
|
||||
}
|
||||
|
||||
if (
|
||||
!visibleContent &&
|
||||
this.documentElement.scrollHeight - this.documentElement.clientHeight < 57
|
||||
|
Loading…
Reference in New Issue
Block a user