@vaadin/multi-select-combo-box 25.2.5 → 25.2.7

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": "@vaadin/multi-select-combo-box",
3
- "version": "25.2.5",
3
+ "version": "25.2.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,23 +37,23 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
- "@vaadin/a11y-base": "~25.2.5",
41
- "@vaadin/combo-box": "~25.2.5",
42
- "@vaadin/component-base": "~25.2.5",
43
- "@vaadin/field-base": "~25.2.5",
44
- "@vaadin/input-container": "~25.2.5",
45
- "@vaadin/item": "~25.2.5",
46
- "@vaadin/lit-renderer": "~25.2.5",
47
- "@vaadin/overlay": "~25.2.5",
48
- "@vaadin/vaadin-themable-mixin": "~25.2.5",
40
+ "@vaadin/a11y-base": "~25.2.7",
41
+ "@vaadin/combo-box": "~25.2.7",
42
+ "@vaadin/component-base": "~25.2.7",
43
+ "@vaadin/field-base": "~25.2.7",
44
+ "@vaadin/input-container": "~25.2.7",
45
+ "@vaadin/item": "~25.2.7",
46
+ "@vaadin/lit-renderer": "~25.2.7",
47
+ "@vaadin/overlay": "~25.2.7",
48
+ "@vaadin/vaadin-themable-mixin": "~25.2.7",
49
49
  "lit": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@vaadin/aura": "~25.2.5",
53
- "@vaadin/chai-plugins": "~25.2.5",
54
- "@vaadin/test-runner-commands": "~25.2.5",
52
+ "@vaadin/aura": "~25.2.7",
53
+ "@vaadin/chai-plugins": "~25.2.7",
54
+ "@vaadin/test-runner-commands": "~25.2.7",
55
55
  "@vaadin/testing-helpers": "^2.0.0",
56
- "@vaadin/vaadin-lumo-styles": "~25.2.5",
56
+ "@vaadin/vaadin-lumo-styles": "~25.2.7",
57
57
  "sinon": "^22.0.0"
58
58
  },
59
59
  "customElements": "custom-elements.json",
@@ -61,5 +61,5 @@
61
61
  "web-types.json",
62
62
  "web-types.lit.json"
63
63
  ],
64
- "gitHead": "bfaf51d71619f34c0b00b326e6426f1cd9f7b2f5"
64
+ "gitHead": "14be1af674f3968cce68c6eb4742340694c4a949"
65
65
  }
@@ -574,7 +574,11 @@ export const MultiSelectComboBoxMixin = (superClass) =>
574
574
  * @protected
575
575
  */
576
576
  _setFocused(focused) {
577
- if (!focused) {
577
+ // Do not validate, commit or close on internal blur triggered
578
+ // on overlay touch action needed to hide the virtual keyboard.
579
+ const blurred = !focused && !this._closeOnBlurIsPrevented;
580
+
581
+ if (blurred) {
578
582
  this._ignoreCommitValue = true;
579
583
  }
580
584
 
@@ -582,12 +586,12 @@ export const MultiSelectComboBoxMixin = (superClass) =>
582
586
 
583
587
  // Do not validate when focusout is caused by document
584
588
  // losing focus, which happens on browser tab switch.
585
- if (!focused && document.hasFocus()) {
589
+ if (blurred && document.hasFocus()) {
586
590
  this._focusedChipIndex = -1;
587
591
  this._requestValidation();
588
592
  }
589
593
 
590
- if (!focused && this.readonly && !this._closeOnBlurIsPrevented) {
594
+ if (blurred && this.readonly) {
591
595
  this.close();
592
596
  }
593
597
  }
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/multi-select-combo-box",
4
- "version": "25.2.5",
4
+ "version": "25.2.7",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/multi-select-combo-box",
4
- "version": "25.2.5",
4
+ "version": "25.2.7",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {