@brightspace-ui/core 3.55.0 → 3.56.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",