vue2-excel-grid 1.1.12 → 1.1.13
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/package.json
CHANGED
|
@@ -1817,7 +1817,7 @@ export default {
|
|
|
1817
1817
|
|
|
1818
1818
|
// Open select dropdown on click if cell was already active (2nd click)
|
|
1819
1819
|
const col = this.leafCols[ci]
|
|
1820
|
-
if (wasActive && col && this.isSelectLikeCol(col) && this.isCellEditable(ri, ci)) {
|
|
1820
|
+
if (wasActive && col && this.isSelectLikeCol(col) && !this.hasEditSlot(col) && this.isCellEditable(ri, ci)) {
|
|
1821
1821
|
this.openSelectDropdown(ri, ci, e)
|
|
1822
1822
|
e.preventDefault()
|
|
1823
1823
|
this.isMouseDown = true
|
|
@@ -1856,7 +1856,7 @@ export default {
|
|
|
1856
1856
|
onCellDblClick(ri, ci) {
|
|
1857
1857
|
const col = this.leafCols[ci]
|
|
1858
1858
|
if (!this.isCellEditable(ri, ci)) return
|
|
1859
|
-
if (col && this.isSelectLikeCol(col)) {
|
|
1859
|
+
if (col && this.isSelectLikeCol(col) && !this.hasEditSlot(col)) {
|
|
1860
1860
|
this.openSelectDropdownForActive()
|
|
1861
1861
|
return
|
|
1862
1862
|
}
|
|
@@ -2034,7 +2034,7 @@ export default {
|
|
|
2034
2034
|
if (key === 'F2') {
|
|
2035
2035
|
e.preventDefault()
|
|
2036
2036
|
const activeCol = this.leafCols[this.activeCell.col]
|
|
2037
|
-
if (activeCol && this.isSelectLikeCol(activeCol)) {
|
|
2037
|
+
if (activeCol && this.isSelectLikeCol(activeCol) && !this.hasEditSlot(activeCol)) {
|
|
2038
2038
|
this.openSelectDropdownForActive()
|
|
2039
2039
|
} else if (activeCol && activeCol.type === 'checkbox') {
|
|
2040
2040
|
this.toggleCheckbox(this.activeCell.row, this.activeCell.col)
|
|
@@ -2130,7 +2130,7 @@ export default {
|
|
|
2130
2130
|
if (e.ctrlKey || e.metaKey || e.altKey) return
|
|
2131
2131
|
if (e.key && e.key.length === 1) {
|
|
2132
2132
|
const activeCol = this.leafCols[this.activeCell.col]
|
|
2133
|
-
if (activeCol && this.isSelectLikeCol(activeCol)) {
|
|
2133
|
+
if (activeCol && this.isSelectLikeCol(activeCol) && !this.hasEditSlot(activeCol)) {
|
|
2134
2134
|
e.preventDefault()
|
|
2135
2135
|
this.openSelectDropdownForActive()
|
|
2136
2136
|
return
|