aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelissa Zhang <mzhang19096@gmail.com>2020-08-14 00:10:53 -0700
committerMelissa Zhang <mzhang19096@gmail.com>2020-08-14 00:10:53 -0700
commitdbb1e832571428562cf2ad378014236572a1ae19 (patch)
tree8ae93a1083dc82444967b3995699044f43461108 /src
parent4852a2bfce1ddc038716f24cfcbf22c1aad88ff0 (diff)
print headerIsEditing
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/SchemaTable.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/SchemaTable.tsx b/src/client/views/collections/SchemaTable.tsx
index d997606f6..144084188 100644
--- a/src/client/views/collections/SchemaTable.tsx
+++ b/src/client/views/collections/SchemaTable.tsx
@@ -377,6 +377,7 @@ export class SchemaTable extends React.Component<SchemaTableProps> {
@action
onKeyDown = (e: KeyboardEvent): void => {
+ console.log("headerIsEditing", this.props.headerIsEditing);
if (!this._cellIsEditing && !this.props.headerIsEditing && this.props.isFocused(this.props.Document, true)) {// && this.props.isSelected(true)) {
const direction = e.key === "Tab" ? "tab" : e.which === 39 ? "right" : e.which === 37 ? "left" : e.which === 38 ? "up" : e.which === 40 ? "down" : "";
this._focusedCell = this.changeFocusedCellByDirection(direction, this._focusedCell.row, this._focusedCell.col);