@carbon-labs/react-ui-shell 0.64.0 → 0.66.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.
@@ -345,7 +345,7 @@ function SideNavRenderFunction({
345
345
  const target = event.target;
346
346
  const isNavItemClick = target.closest(`.${prefix}--side-nav a, .${prefix}--side-nav button`);
347
347
  const isInRail = isNavItemClick?.closest(`.${prefix}--side-nav--rail`);
348
- if (isNavItemClick && !isNavItemClick.classList.contains(`${prefix}--side-nav__submenu`)) {
348
+ if (isNavItemClick && !isNavItemClick.classList.contains(`${prefix}--side-nav__submenu`) && !isNavItemClick.classList.contains(`${prefix}--side-nav__back-button`)) {
349
349
  isInRail ? handleToggle(false, false) : onSideNavBlur?.();
350
350
  }
351
351
  });
@@ -347,7 +347,7 @@ function SideNavRenderFunction({
347
347
  const target = event.target;
348
348
  const isNavItemClick = target.closest(`.${prefix}--side-nav a, .${prefix}--side-nav button`);
349
349
  const isInRail = isNavItemClick?.closest(`.${prefix}--side-nav--rail`);
350
- if (isNavItemClick && !isNavItemClick.classList.contains(`${prefix}--side-nav__submenu`)) {
350
+ if (isNavItemClick && !isNavItemClick.classList.contains(`${prefix}--side-nav__submenu`) && !isNavItemClick.classList.contains(`${prefix}--side-nav__back-button`)) {
351
351
  isInRail ? handleToggle(false, false) : onSideNavBlur?.();
352
352
  }
353
353
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon-labs/react-ui-shell",
3
- "version": "0.64.0",
3
+ "version": "0.66.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -42,5 +42,5 @@
42
42
  "dependencies": {
43
43
  "@ibm/telemetry-js": "^1.9.1"
44
44
  },
45
- "gitHead": "3bf6978c6066837bfd877816ee4c520031cb5fe3"
45
+ "gitHead": "8f41e76baf8e9c988613330b8aad3d19cbce924b"
46
46
  }
@@ -27,7 +27,7 @@ $prefix: 'cds' !default;
27
27
  gap: 0;
28
28
  inline-size: convert.to-rem(256px);
29
29
  max-block-size: 100vh;
30
- overflow-y: scroll;
30
+ overflow-y: auto;
31
31
 
32
32
  > * {
33
33
  padding: $spacing-05;