diff options
| author | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-06-16 09:50:36 -0700 |
|---|---|---|
| committer | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-06-16 09:50:36 -0700 |
| commit | fe2e0bd58ea9558b710d8fb8037ec72065efa882 (patch) | |
| tree | 1a621bd93a6298cf71baf52d2900d68d26f26ae6 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 6d68abf588f7b6182a62b74882d1fdc09b2b0230 (diff) | |
| parent | 4b1dc65c9e0bb917c1f1f780f8a63fc0c91b4ad6 (diff) | |
Merge branch 'mobile_revision_direct' of https://github.com/browngraphicslab/Dash-Web into mobile_revision_direct
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 0a1b03522..bd0b69da8 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -476,7 +476,7 @@ export class CollectionStackingView extends CollectionSubView(StackingDocument) transformOrigin: "top left", }} onScroll={action(e => { - if (!this.props.isSelected()) e.currentTarget.scrollTop = this._scroll; + if (!this.props.isSelected() && window.innerWidth > 1000) e.currentTarget.scrollTop = this._scroll; else this._scroll = e.currentTarget.scrollTop; })} onDrop={this.onExternalDrop.bind(this)} |
