regression: SidebarV2 content not scrolling

Merged
YA
2mo ago
+6-1

Proposed changes (including videos or screenshots)

We recently migrated sidebar version 1 components to version 2, which introduced a regression where the overflow and scrollbars stopped working as expected. This PR fixes this issue.

Before

image

After

image

Scroll works fine, as expected

Issue(s)

Steps to test or reproduce

  • Open Omnichannel or Marketplace sidebars
  • Reduce size of viewport so sidebar irtems don't fit vertically
  • scrollbars don't appear

Further comments

CORE-2509

Summary by CodeRabbit

  • Bug Fixes
    • Fixed sidebar scrolling for content taller than the available viewport.
    • Sidebar content now maintains the full available height while expanding and scrolling as needed.