@vaadin/vaadin-grid 5.9.7 → 5.10.1

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
@@ -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.9.7",
18
+ "version": "5.10.1",
19
19
  "main": "vaadin-grid.js",
20
20
  "author": "Vaadin Ltd",
21
21
  "license": "Apache-2.0",
@@ -37,8 +37,8 @@
37
37
  "@polymer/iron-a11y-keys-behavior": "^3.0.0",
38
38
  "@polymer/iron-a11y-announcer": "^3.0.0",
39
39
  "@vaadin/vaadin-themable-mixin": "^1.6.1",
40
- "@vaadin/vaadin-checkbox": "^2.4.0",
41
- "@vaadin/vaadin-text-field": "^2.7.0",
40
+ "@vaadin/vaadin-checkbox": "^2.6.0",
41
+ "@vaadin/vaadin-text-field": "^2.10.0",
42
42
  "@vaadin/vaadin-lumo-styles": "^1.6.0",
43
43
  "@vaadin/vaadin-material-styles": "^1.3.2",
44
44
  "@vaadin/vaadin-element-mixin": "^2.4.1"
@@ -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.9.7';
328
+ return '5.10.1';
329
329
  }
330
330
 
331
331
  static get observers() {