diff options
author | bobzel <zzzman@gmail.com> | 2020-08-15 17:25:06 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-15 17:25:06 -0400 |
commit | 9aeb0b8e94deb17c0c5364d5209e93ef981c4828 (patch) | |
tree | 82064cbb2142a0aa7ccacf07acb1df37364a9286 /src | |
parent | e4185e8de50d7388ace1bf6850867ad754e5feef (diff) |
fixed schema view scrollbar
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/SchemaTable.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/SchemaTable.tsx b/src/client/views/collections/SchemaTable.tsx index 2c7950453..7324dd6df 100644 --- a/src/client/views/collections/SchemaTable.tsx +++ b/src/client/views/collections/SchemaTable.tsx @@ -597,7 +597,8 @@ export class SchemaTable extends React.Component<SchemaTableProps> { render() { const preview = ""; - return <div className="collectionSchemaView-table" onPointerDown={this.props.onPointerDown} onWheel={e => this.props.active(true) && e.stopPropagation()} + return <div className="collectionSchemaView-table" style={{ overflow: this.props.Document._searchDoc ? undefined : "auto" }} + onPointerDown={this.props.onPointerDown} onWheel={e => this.props.active(true) && e.stopPropagation()} onDrop={e => this.props.onDrop(e, {})} onContextMenu={this.onContextMenu} > {this.reactTable} {StrCast(this.props.Document.type) !== "search" ? <div className="collectionSchemaView-addRow" onClick={() => this.createRow()}>+ new</div> |