@brightspace-ui/core 3.333.4 → 3.333.5

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.
@@ -165,8 +165,8 @@ class Menu extends PropertyRequiredMixin(ThemeMixin(HierarchicalViewMixin(LitEle
165
165
 
166
166
  resetFocusables(isActiveView) {
167
167
  const focusable = this._getTabFocusable();
168
- if (isActiveView && focusable.getRootNode().activeElement === focusable) return;
169
- this._getTabFocusable()?.setAttribute('tabindex', '-1');
168
+ if (!focusable || (isActiveView && focusable.getRootNode().activeElement === focusable)) return;
169
+ focusable?.setAttribute('tabindex', '-1');
170
170
  }
171
171
 
172
172
  _createReturnItem() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.333.4",
3
+ "version": "3.333.5",
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",