@brightspace-ui/core 3.55.0 → 3.56.0

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.
@@ -136,7 +136,12 @@ class LoadMore extends PageableSubscriberMixin(FocusMixin(LocalizeCoreElement(Rt
136
136
  requestAnimationFrame(() => item.focus());
137
137
  } else {
138
138
  const firstFocusable = getFirstFocusableDescendant(item);
139
- if (firstFocusable) firstFocusable.focus();
139
+ if (firstFocusable) {
140
+ firstFocusable.focus();
141
+ } else if (item.focus === nativeFocus) {
142
+ item.tabIndex = -1;
143
+ requestAnimationFrame(() => item.focus());
144
+ }
140
145
  }
141
146
  }
142
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.55.0",
3
+ "version": "3.56.0",
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",