@brightspace-ui/core 2.118.9 → 2.118.10

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.
@@ -302,7 +302,8 @@ class ListItemGenericLayout extends RtlMixin(LitElement) {
302
302
  if (!listItem._tryFocus()) {
303
303
  // ultimate fallback to generic method for getting next/previous focusable
304
304
  const nextFocusable = previous ? getPreviousFocusable(listItem) : getNextFocusable(listItem);
305
- if (nextFocusable && this._isContainedInSameRootList(curListItem, nextFocusable)) {
305
+ const nextListItem = findComposedAncestor(nextFocusable, (node) => node.role === 'rowgroup' || node.role === 'listitem');
306
+ if (nextListItem && this._isContainedInSameRootList(curListItem, nextListItem)) {
306
307
  nextFocusable.focus();
307
308
  }
308
309
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.118.9",
3
+ "version": "2.118.10",
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",