Fixed: Virtual tables/grids on Mobile

This commit is contained in:
Qstick 2018-01-27 01:22:13 -05:00
parent b5339b75ff
commit 6ff5e6337b
4 changed files with 4 additions and 4 deletions

View file

@ -288,7 +288,7 @@ class ArtistIndexBanners extends Component {
return ( return (
<Measure onMeasure={this.onMeasure}> <Measure onMeasure={this.onMeasure}>
<WindowScroller <WindowScroller
scrollElement={isSmallScreen ? null : this._contentBodyNode} scrollElement={isSmallScreen ? undefined : this._contentBodyNode}
onScroll={onScroll} onScroll={onScroll}
> >
{({ height, isScrolling }) => { {({ height, isScrolling }) => {

View file

@ -232,7 +232,7 @@ class ArtistIndexOverviews extends Component {
return ( return (
<Measure onMeasure={this.onMeasure}> <Measure onMeasure={this.onMeasure}>
<WindowScroller <WindowScroller
scrollElement={isSmallScreen ? null : this._contentBodyNode} scrollElement={isSmallScreen ? undefined : this._contentBodyNode}
onScroll={onScroll} onScroll={onScroll}
> >
{({ height, isScrolling }) => { {({ height, isScrolling }) => {

View file

@ -288,7 +288,7 @@ class ArtistIndexPosters extends Component {
return ( return (
<Measure onMeasure={this.onMeasure}> <Measure onMeasure={this.onMeasure}>
<WindowScroller <WindowScroller
scrollElement={isSmallScreen ? null : this._contentBodyNode} scrollElement={isSmallScreen ? undefined : this._contentBodyNode}
onScroll={onScroll} onScroll={onScroll}
> >
{({ height, isScrolling }) => { {({ height, isScrolling }) => {

View file

@ -102,7 +102,7 @@ class VirtualTable extends Component {
return ( return (
<Measure onMeasure={this.onMeasure}> <Measure onMeasure={this.onMeasure}>
<WindowScroller <WindowScroller
scrollElement={isSmallScreen ? null : this._contentBodyNode} scrollElement={isSmallScreen ? undefined : this._contentBodyNode}
onScroll={onScroll} onScroll={onScroll}
> >
{({ height, isScrolling }) => { {({ height, isScrolling }) => {