@brightspace-ui/core 3.150.3 → 3.150.4

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.
@@ -141,6 +141,8 @@ export const TabMixin = superclass => class extends SkeletonMixin(superclass) {
141
141
  }
142
142
 
143
143
  #handleClick() {
144
+ if (this.selected) return;
145
+
144
146
  this._clicked = true;
145
147
  const beforeSelectedEvent = new CustomEvent('d2l-tab-before-selected', {
146
148
  detail: {
@@ -174,8 +174,6 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
174
174
  firstUpdated(changedProperties) {
175
175
  super.firstUpdated(changedProperties);
176
176
 
177
- const container = this.shadowRoot.querySelector('.tag-list-item-content');
178
-
179
177
  this.addEventListener('focus', async(e) => {
180
178
  // ignore focus events coming from inside the tag content
181
179
  if (e.composedPath()[0] !== this) return;
@@ -198,7 +196,7 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
198
196
  await this.updateComplete;
199
197
  // delay the focus to allow focusin to fire
200
198
  setTimeout(() => {
201
- container.focus();
199
+ this.shadowRoot.querySelector('.tag-list-item-content').focus();
202
200
  });
203
201
  });
204
202
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.150.3",
3
+ "version": "3.150.4",
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",