Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sidebar-scroll-min-height.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixed the sidebar not scrolling when its content is taller than the viewport — the inner wrapper was pinned to the scroll container's height instead of using it as a minimum, so overflowing content was clipped
2 changes: 1 addition & 1 deletion apps/meteor/client/components/Sidebar/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type ContentProps = ComponentPropsWithoutRef<typeof CustomScrollbars>;
const Content = ({ children, ...props }: ContentProps) => (
<Box display='flex' flexDirection='column' flexGrow={1} flexShrink={1} overflow='hidden'>
<CustomScrollbars {...props}>
<Box display='flex' flexDirection='column' width='full' height='full'>
<Box display='flex' flexDirection='column' width='full' minHeight='full'>
{children}
</Box>
</CustomScrollbars>
Expand Down
Loading