aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaCells.tsx
diff options
context:
space:
mode:
authorSam Wilkins <abdullah_ahmed@brown.edu>2019-07-19 16:21:19 -0400
committerSam Wilkins <abdullah_ahmed@brown.edu>2019-07-19 16:21:19 -0400
commit5da4de27c45e4f40c88b710be64f0129e9be7088 (patch)
treec368b413d59f09d79798697fce4b1976580db6ff /src/client/views/collections/CollectionSchemaCells.tsx
parente1b11d49cc73ae9cfe85c5225537d681bbc976cc (diff)
focused cell styling + click editable view changes focuses on that cell
Diffstat (limited to 'src/client/views/collections/CollectionSchemaCells.tsx')
-rw-r--r--src/client/views/collections/CollectionSchemaCells.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx
index 0307bb83e..31a9baa11 100644
--- a/src/client/views/collections/CollectionSchemaCells.tsx
+++ b/src/client/views/collections/CollectionSchemaCells.tsx
@@ -74,6 +74,7 @@ export class CollectionSchemaCell extends React.Component<CellProps> {
document.addEventListener("keydown", this.onKeyDown);
this._isEditing = isEditing;
this.props.setIsEditing(isEditing);
+ this.props.changeFocusedCellByIndex(this.props.row, this.props.col);
}
@action