diff --git a/partials/GridEditor.vue b/partials/GridEditor.vue index 008d59ec8f3941d8695b3b0066f68262d14b0b1d..291bdb458c8cb895b15dba4ea7cb957c952bd978 100644 --- a/partials/GridEditor.vue +++ b/partials/GridEditor.vue @@ -649,14 +649,16 @@ } }, touchMobileCell (event, cell) { - Object.keys(this.annotationUIStates).filter((k) => { - if (k === cell._uuid && this.annotationUIStates[k].editing) console.log(k, cell._uuid) - else this.annotationUIStates[k].editing = false - }) - this.annotationUIStates[cell._uuid].editing = !this.annotationUIStates[cell._uuid].editing - this.updateEditingCells() - this.$root.$emit('mosys_saveScrollPosition') - // this.handleCellEditClick(event, annotation) + if (!this.mobileTempCell.onGrid) { + Object.keys(this.annotationUIStates).filter((k) => { + if (k === cell._uuid && this.annotationUIStates[k].editing) console.log(k, cell._uuid) + else this.annotationUIStates[k].editing = false + }) + this.annotationUIStates[cell._uuid].editing = !this.annotationUIStates[cell._uuid].editing + this.updateEditingCells() + this.$root.$emit('mosys_saveScrollPosition') + // this.handleCellEditClick(event, annotation) + } }, handleCellTouch (event, annotation) { if (!this.cachedNewCell) {