@vaadin/multi-select-combo-box 25.1.8 → 25.1.10

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.1.8",
3
+ "version": "25.1.10",
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.1.8",
41
- "@vaadin/combo-box": "~25.1.8",
42
- "@vaadin/component-base": "~25.1.8",
43
- "@vaadin/field-base": "~25.1.8",
44
- "@vaadin/input-container": "~25.1.8",
45
- "@vaadin/item": "~25.1.8",
46
- "@vaadin/lit-renderer": "~25.1.8",
47
- "@vaadin/overlay": "~25.1.8",
48
- "@vaadin/vaadin-themable-mixin": "~25.1.8",
40
+ "@vaadin/a11y-base": "~25.1.10",
41
+ "@vaadin/combo-box": "~25.1.10",
42
+ "@vaadin/component-base": "~25.1.10",
43
+ "@vaadin/field-base": "~25.1.10",
44
+ "@vaadin/input-container": "~25.1.10",
45
+ "@vaadin/item": "~25.1.10",
46
+ "@vaadin/lit-renderer": "~25.1.10",
47
+ "@vaadin/overlay": "~25.1.10",
48
+ "@vaadin/vaadin-themable-mixin": "~25.1.10",
49
49
  "lit": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@vaadin/aura": "~25.1.8",
53
- "@vaadin/chai-plugins": "~25.1.8",
54
- "@vaadin/test-runner-commands": "~25.1.8",
52
+ "@vaadin/aura": "~25.1.10",
53
+ "@vaadin/chai-plugins": "~25.1.10",
54
+ "@vaadin/test-runner-commands": "~25.1.10",
55
55
  "@vaadin/testing-helpers": "^2.0.0",
56
- "@vaadin/vaadin-lumo-styles": "~25.1.8",
56
+ "@vaadin/vaadin-lumo-styles": "~25.1.10",
57
57
  "sinon": "^21.0.2"
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": "284962838c38ec84495ea097b97d6d03cad2069b"
64
+ "gitHead": "941297a1015ae11bb75d90c0b3c52302e741a528"
65
65
  }
@@ -564,7 +564,11 @@ export const MultiSelectComboBoxMixin = (superClass) =>
564
564
  * @protected
565
565
  */
566
566
  _setFocused(focused) {
567
- if (!focused) {
567
+ // Do not validate, commit or close on internal blur triggered
568
+ // on overlay touch action needed to hide the virtual keyboard.
569
+ const blurred = !focused && !this._closeOnBlurIsPrevented;
570
+
571
+ if (blurred) {
568
572
  this._ignoreCommitValue = true;
569
573
  }
570
574
 
@@ -572,12 +576,12 @@ export const MultiSelectComboBoxMixin = (superClass) =>
572
576
 
573
577
  // Do not validate when focusout is caused by document
574
578
  // losing focus, which happens on browser tab switch.
575
- if (!focused && document.hasFocus()) {
579
+ if (blurred && document.hasFocus()) {
576
580
  this._focusedChipIndex = -1;
577
581
  this._requestValidation();
578
582
  }
579
583
 
580
- if (!focused && this.readonly && !this._closeOnBlurIsPrevented) {
584
+ if (blurred && this.readonly) {
581
585
  this.close();
582
586
  }
583
587
  }
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.1.8",
4
+ "version": "25.1.10",
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.1.8",
4
+ "version": "25.1.10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {