Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1350 from metasfresh/dev-1335
Browse files Browse the repository at this point in the history
watch keydown event on 'always' tablecell #1335
  • Loading branch information
teosarca authored Nov 20, 2017
2 parents 68b9e78 + ccb987b commit 896ad0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/table/TableItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ class TableItem extends Component {
changeListenOnTrue();
}}
disableOnClickOutside={edited !== property}
onKeyDown = {(!mainTable || forceKeysBind) ?
onKeyDown = {(!mainTable || forceKeysBind ||
isEditable) ?
(e) => this.handleKey(e, property) : null
}
onCellChange={onItemChange}
Expand Down

0 comments on commit 896ad0d

Please sign in to comment.