@vaadin/grid
Advanced tools
Comparing version 24.4.0-alpha12 to 24.4.0-alpha13
{ | ||
"name": "@vaadin/grid", | ||
"version": "24.4.0-alpha12", | ||
"version": "24.4.0-alpha13", | ||
"publishConfig": { | ||
@@ -49,10 +49,10 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/a11y-base": "24.4.0-alpha12", | ||
"@vaadin/checkbox": "24.4.0-alpha12", | ||
"@vaadin/component-base": "24.4.0-alpha12", | ||
"@vaadin/lit-renderer": "24.4.0-alpha12", | ||
"@vaadin/text-field": "24.4.0-alpha12", | ||
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha12", | ||
"@vaadin/vaadin-material-styles": "24.4.0-alpha12", | ||
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha12", | ||
"@vaadin/a11y-base": "24.4.0-alpha13", | ||
"@vaadin/checkbox": "24.4.0-alpha13", | ||
"@vaadin/component-base": "24.4.0-alpha13", | ||
"@vaadin/lit-renderer": "24.4.0-alpha13", | ||
"@vaadin/text-field": "24.4.0-alpha13", | ||
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha13", | ||
"@vaadin/vaadin-material-styles": "24.4.0-alpha13", | ||
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha13", | ||
"lit": "^3.0.0" | ||
@@ -69,3 +69,3 @@ }, | ||
], | ||
"gitHead": "811e8327e02a8ecdca0bb5d6528856e70d429d0c" | ||
"gitHead": "97246b0703cd04a4b0ea5dcd49e2581d45cf6367" | ||
} |
@@ -126,2 +126,15 @@ /** | ||
this._rowWithFocusedElement = e.composedPath()[itemsIndex - 1]; | ||
if (this._rowWithFocusedElement) { | ||
// Make sure the row with the focused element is fully inside the visible viewport | ||
this.__scrollIntoViewport(this._rowWithFocusedElement.index); | ||
if (!this.$.table.contains(e.relatedTarget)) { | ||
// Virtualizer can't catch the event because if orginates from the light DOM. | ||
// Dispatch a virtualizer-element-focused event for virtualizer to catch. | ||
this.$.table.dispatchEvent( | ||
new CustomEvent('virtualizer-element-focused', { detail: { element: this._rowWithFocusedElement } }), | ||
); | ||
} | ||
} | ||
}); | ||
@@ -128,0 +141,0 @@ this.$.items.addEventListener('focusout', () => { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
668858
16089
+ Added@vaadin/a11y-base@24.4.0-alpha13(transitive)
+ Added@vaadin/checkbox@24.4.0-alpha13(transitive)
+ Added@vaadin/component-base@24.4.0-alpha13(transitive)
+ Added@vaadin/field-base@24.4.0-alpha13(transitive)
+ Added@vaadin/icon@24.4.0-alpha13(transitive)
+ Added@vaadin/input-container@24.4.0-alpha13(transitive)
+ Added@vaadin/lit-renderer@24.4.0-alpha13(transitive)
+ Added@vaadin/text-field@24.4.0-alpha13(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.4.0-alpha13(transitive)
+ Added@vaadin/vaadin-material-styles@24.4.0-alpha13(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.4.0-alpha13(transitive)
- Removed@vaadin/a11y-base@24.4.0-alpha12(transitive)
- Removed@vaadin/checkbox@24.4.0-alpha12(transitive)
- Removed@vaadin/component-base@24.4.0-alpha12(transitive)
- Removed@vaadin/field-base@24.4.0-alpha12(transitive)
- Removed@vaadin/icon@24.4.0-alpha12(transitive)
- Removed@vaadin/input-container@24.4.0-alpha12(transitive)
- Removed@vaadin/lit-renderer@24.4.0-alpha12(transitive)
- Removed@vaadin/text-field@24.4.0-alpha12(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.4.0-alpha12(transitive)
- Removed@vaadin/vaadin-material-styles@24.4.0-alpha12(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.4.0-alpha12(transitive)