vue2-excel-grid 2.6.3 → 2.6.4
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
|
@@ -4055,6 +4055,10 @@ const ExcelGridComponent = {
|
|
|
4055
4055
|
if (dc !== 0) farCol = this._extendAxis(anchor.col, farCol, dc, this.leafCols.length - 1)
|
|
4056
4056
|
this.selectionRanges = [buildRange(anchor, { row: farRow, col: farCol })]
|
|
4057
4057
|
this.emitSelectionChange()
|
|
4058
|
+
// Unlike moveActive(), this doesn't move the active cell — but the newly
|
|
4059
|
+
// extended (far) corner of the range must still be scrolled into view,
|
|
4060
|
+
// exactly like moveActive() does for the active cell itself.
|
|
4061
|
+
this.scrollToCell(farRow, farCol)
|
|
4058
4062
|
},
|
|
4059
4063
|
|
|
4060
4064
|
_extendAxis(anchorIdx, farIdx, delta, maxIdx) {
|