diff --git a/frontend/src/Components/Page/PageContentBody.js b/frontend/src/Components/Page/PageContentBody.js index 3a593fc0f..5c277d8f5 100644 --- a/frontend/src/Components/Page/PageContentBody.js +++ b/frontend/src/Components/Page/PageContentBody.js @@ -3,6 +3,7 @@ import React, { Component } from 'react'; import { isLocked } from 'Utilities/scrollLock'; import { scrollDirections } from 'Helpers/Props'; import OverlayScroller from 'Components/Scroller/OverlayScroller'; +import Scroller from 'Components/Scroller/Scroller'; import styles from './PageContentBody.css'; class PageContentBody extends Component { @@ -31,7 +32,7 @@ class PageContentBody extends Component { ...otherProps } = this.props; - const ScrollerComponent = OverlayScroller; + const ScrollerComponent = isSmallScreen ? Scroller : OverlayScroller; return ( <ScrollerComponent