@vaadin/vaadin-grid 5.10.0 → 5.10.2

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/README.md CHANGED
@@ -127,6 +127,9 @@ To use the Material theme, import the correspondent file from the `theme/materia
127
127
 
128
128
  ## Running tests from the command line
129
129
 
130
+ > [!WARNING]
131
+ > Running tests locally from the CLI does not work due to outdated dependencies. Run tests via SauceLabs or in the browser instead.
132
+
130
133
  1. When in the `vaadin-grid` directory, run `polymer test`
131
134
 
132
135
 
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "repository": "vaadin/vaadin-grid",
16
16
  "homepage": "https://vaadin.com/components",
17
17
  "name": "@vaadin/vaadin-grid",
18
- "version": "5.10.0",
18
+ "version": "5.10.2",
19
19
  "main": "vaadin-grid.js",
20
20
  "author": "Vaadin Ltd",
21
21
  "license": "Apache-2.0",
@@ -43,6 +43,11 @@
43
43
  "@vaadin/vaadin-material-styles": "^1.3.2",
44
44
  "@vaadin/vaadin-element-mixin": "^2.4.1"
45
45
  },
46
+ "overrides": {
47
+ "wct-sauce": {
48
+ "sauce-connect-launcher": "vaadin/sauce-connect-launcher#upgrade-sauce-connect-5"
49
+ }
50
+ },
46
51
  "resolutions": {
47
52
  "@webcomponents/webcomponentsjs": "2.0.0",
48
53
  "inherits": "2.0.3",
@@ -507,7 +507,7 @@ export const DataProviderMixin = superClass => class DataProviderMixin extends s
507
507
 
508
508
  scrollToIndex(index) {
509
509
  super.scrollToIndex(index);
510
- if (!isNaN(index) && (this._cache.isLoading() || !this.clientHeight)) {
510
+ if (!isNaN(index) && (this._cache.isLoading() || !this.clientHeight || !this._columnTree)) {
511
511
  this.__pendingScrollToIndex = index;
512
512
  }
513
513
  }
@@ -494,13 +494,15 @@ export const KeyboardNavigationMixin = superClass => class KeyboardNavigationMix
494
494
 
495
495
  if (rootTarget === this.$.table ||
496
496
  rootTarget === this.$.focusexit) {
497
- // The focus enters the top (bottom) of the grid, meaning that user has
498
- // tabbed (shift-tabbed) into the grid. Move the focus to
499
- // the first (the last) focusable.
500
- this._predictFocusStepTarget(
501
- rootTarget,
502
- rootTarget === this.$.table ? 1 : -1
503
- ).focus();
497
+ if (!this._isMousedown) {
498
+ // The focus enters the top (bottom) of the grid, meaning that user has
499
+ // tabbed (shift-tabbed) into the grid. Move the focus to
500
+ // the first (the last) focusable.
501
+ this._predictFocusStepTarget(
502
+ rootTarget,
503
+ rootTarget === this.$.table ? 1 : -1
504
+ ).focus();
505
+ }
504
506
  this._setInteracting(false);
505
507
  } else {
506
508
  this._detectInteracting(e);
@@ -325,7 +325,7 @@ class GridElement extends
325
325
  }
326
326
 
327
327
  static get version() {
328
- return '5.10.0';
328
+ return '5.10.2';
329
329
  }
330
330
 
331
331
  static get observers() {