sheet-happens 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2916,7 +2916,7 @@ var Sheet = React.forwardRef(function (props, ref) {
2916
2916
  lastEditKey = _useState10[0],
2917
2917
  setLastEditKey = _useState10[1];
2918
2918
 
2919
- if (lastEditKey !== NO_CELL.join(',') && lastEditKey !== editKey) {
2919
+ if (editMode && lastEditKey !== editKey) {
2920
2920
  setLastEditKey(editKey);
2921
2921
  setEditCell(NO_CELL);
2922
2922
  }