@vaadin/combo-box 22.0.17 → 22.0.18

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/combo-box",
3
- "version": "22.0.17",
3
+ "version": "22.0.18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,23 +33,23 @@
33
33
  "dependencies": {
34
34
  "@open-wc/dedupe-mixin": "^1.3.0",
35
35
  "@polymer/polymer": "^3.0.0",
36
- "@vaadin/component-base": "^22.0.17",
37
- "@vaadin/field-base": "^22.0.17",
38
- "@vaadin/input-container": "^22.0.17",
39
- "@vaadin/item": "^22.0.17",
40
- "@vaadin/vaadin-lumo-styles": "^22.0.17",
41
- "@vaadin/vaadin-material-styles": "^22.0.17",
42
- "@vaadin/vaadin-overlay": "^22.0.17",
43
- "@vaadin/vaadin-themable-mixin": "^22.0.17"
36
+ "@vaadin/component-base": "^22.0.18",
37
+ "@vaadin/field-base": "^22.0.18",
38
+ "@vaadin/input-container": "^22.0.18",
39
+ "@vaadin/item": "^22.0.18",
40
+ "@vaadin/vaadin-lumo-styles": "^22.0.18",
41
+ "@vaadin/vaadin-material-styles": "^22.0.18",
42
+ "@vaadin/vaadin-overlay": "^22.0.18",
43
+ "@vaadin/vaadin-themable-mixin": "^22.0.18"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
- "@vaadin/dialog": "^22.0.17",
48
- "@vaadin/polymer-legacy-adapter": "^22.0.17",
47
+ "@vaadin/dialog": "^22.0.18",
48
+ "@vaadin/polymer-legacy-adapter": "^22.0.18",
49
49
  "@vaadin/testing-helpers": "^0.3.2",
50
- "@vaadin/text-field": "^22.0.17",
50
+ "@vaadin/text-field": "^22.0.18",
51
51
  "lit": "^2.0.0",
52
52
  "sinon": "^9.2.0"
53
53
  },
54
- "gitHead": "4ba77c19889036fb954052cf1f32bc96089fcc25"
54
+ "gitHead": "8f5d45192adbb084661af01c8837d0898cd68a23"
55
55
  }
@@ -1090,6 +1090,12 @@ export const ComboBoxMixin = (subclass) =>
1090
1090
 
1091
1091
  /** @private */
1092
1092
  _onFocusout(event) {
1093
+ // VoiceOver on iOS fires `focusout` event when moving focus to the item in the dropdown.
1094
+ // Do not focus the input in this case, because it would break announcement for the item.
1095
+ if (event.relatedTarget && this._getItemElements().includes(event.relatedTarget)) {
1096
+ return;
1097
+ }
1098
+
1093
1099
  // Fixes the problem with `focusout` happening when clicking on the scroll bar on Edge
1094
1100
  if (event.relatedTarget === this.$.dropdown.$.overlay) {
1095
1101
  event.composedPath()[0].focus();