@brightspace-ui/core 3.27.0 → 3.27.1

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.
@@ -402,7 +402,7 @@ class ListItemGenericLayout extends RtlMixin(LitElement) {
402
402
 
403
403
  // check for nested list first; this check needs to account for standard list-items as well as custom
404
404
  const nestedList = listItem.querySelector('[slot="nested"]') || listItem.shadowRoot.querySelector('d2l-list');
405
- if (nestedList) {
405
+ if (nestedList && (!listItem.expandable || (listItem.expandable && listItem.expanded))) {
406
406
  const nestedListItem = [...nestedList.children].find(node => node.role === 'rowgroup');
407
407
  if (nestedListItem) return nestedListItem;
408
408
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.27.0",
3
+ "version": "3.27.1",
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",