diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-16 23:53:16 +0800 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-16 23:53:16 +0800 |
| commit | 4b1dc65c9e0bb917c1f1f780f8a63fc0c91b4ad6 (patch) | |
| tree | c18ea9f31fb2dbd1f02800742f7857686411ea8e /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 099a1942440efc2784bc9b2c5896777cf85842ec (diff) | |
mobile menu bug fixes + doc button fix
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)} |
