fix for calculating viewportHeight (whithout visible scrollbar height)

pull/90/head
Szymon Lesisz 6 years ago
parent f3269b3eb1
commit 09b6299908

@ -3,7 +3,7 @@
export const getViewportHeight = (): number => (
// $FlowIssue
window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight // $FlowIssue
document.documentElement.clientHeight || document.body.clientHeight // $FlowIssue
);
export const getScrollX = (): number => {

Loading…
Cancel
Save