@vaadin/multi-select-combo-box 24.2.0-alpha1 → 24.2.0-alpha3

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": "24.2.0-alpha1",
3
+ "version": "24.2.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,17 +37,17 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.2.0-alpha1",
41
- "@vaadin/combo-box": "24.2.0-alpha1",
42
- "@vaadin/component-base": "24.2.0-alpha1",
43
- "@vaadin/field-base": "24.2.0-alpha1",
44
- "@vaadin/input-container": "24.2.0-alpha1",
45
- "@vaadin/item": "24.2.0-alpha1",
46
- "@vaadin/lit-renderer": "24.2.0-alpha1",
47
- "@vaadin/overlay": "24.2.0-alpha1",
48
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha1",
49
- "@vaadin/vaadin-material-styles": "24.2.0-alpha1",
50
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha1"
40
+ "@vaadin/a11y-base": "24.2.0-alpha3",
41
+ "@vaadin/combo-box": "24.2.0-alpha3",
42
+ "@vaadin/component-base": "24.2.0-alpha3",
43
+ "@vaadin/field-base": "24.2.0-alpha3",
44
+ "@vaadin/input-container": "24.2.0-alpha3",
45
+ "@vaadin/item": "24.2.0-alpha3",
46
+ "@vaadin/lit-renderer": "24.2.0-alpha3",
47
+ "@vaadin/overlay": "24.2.0-alpha3",
48
+ "@vaadin/vaadin-lumo-styles": "24.2.0-alpha3",
49
+ "@vaadin/vaadin-material-styles": "24.2.0-alpha3",
50
+ "@vaadin/vaadin-themable-mixin": "24.2.0-alpha3"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@esm-bundle/chai": "^4.3.4",
@@ -59,5 +59,5 @@
59
59
  "web-types.json",
60
60
  "web-types.lit.json"
61
61
  ],
62
- "gitHead": "0dbb118320203ab6c0c07450a3e718815367589f"
62
+ "gitHead": "e5d1e1ed2d01b56d5922e18a3fcb7cd306351954"
63
63
  }
@@ -616,7 +616,9 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
616
616
  _setFocused(focused) {
617
617
  super._setFocused(focused);
618
618
 
619
- if (!focused) {
619
+ // Do not validate when focusout is caused by document
620
+ // losing focus, which happens on browser tab switch.
621
+ if (!focused && document.hasFocus()) {
620
622
  this._focusedChipIndex = -1;
621
623
  this.validate();
622
624
  }
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": "24.2.0-alpha1",
4
+ "version": "24.2.0-alpha3",
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": "24.2.0-alpha1",
4
+ "version": "24.2.0-alpha3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {