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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-excel-grid",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "Excel-style grid component for Vue 2.6.14 with virtual scrolling",
5
5
  "license": "MIT",
6
6
  "author": "Fozilbek Raimberdiyev",
@@ -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) {