OverlayScroller still needs to be used in PageContentBody
This commit is contained in:
parent
8adb788205
commit
77f886ceef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue