@brightspace-ui/core 2.10.1 → 2.10.2

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.
@@ -72,7 +72,10 @@ export const TagListItemMixin = superclass => class extends superclass {
72
72
  super.firstUpdated(changedProperties);
73
73
 
74
74
  const container = this.shadowRoot.querySelector('.tag-list-item-container');
75
- this.addEventListener('focus', () => container.focus());
75
+ this.addEventListener('focus', (e) => {
76
+ // ignore focus events coming from inside the tag content
77
+ if (e.composedPath()[0] === this) container.focus();
78
+ });
76
79
  this.addEventListener('blur', () => container.blur());
77
80
  }
78
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",