Skip to content

fix(ui): enable vertical scroll on collapsed sidebar#4755

Merged
Siumauricio merged 1 commit into
Dokploy:canaryfrom
imrja8:fix/sidebar-collapsed-scroll
Jul 7, 2026
Merged

fix(ui): enable vertical scroll on collapsed sidebar#4755
Siumauricio merged 1 commit into
Dokploy:canaryfrom
imrja8:fix/sidebar-collapsed-scroll

Conversation

@imrja8

@imrja8 imrja8 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What is this PR about?

This fixes a bug where the sidebar's vertical scroll was disabled while in the collapsed (icon) state. It also explicitly removes the horizontal scrolling bug that was present in v0.29.8.

How & Why

In the recent Tailwind v4 / Shadcn update, the SidebarContent component had group-data-[collapsible=icon]:overflow-hidden added to it, which hid all overflow when collapsed.

This PR swaps overflow-auto group-data-[collapsible=icon]:overflow-hidden to overflow-y-auto overflow-x-hidden, which restores vertical scrolling capabilities while preventing the sidebar from overflowing horizontally.

Checklist

  • You created a dedicated branch based on the canary branch.
  • You have read the suggestions in the CONTRIBUTING.md file.
  • You have tested this PR in your local instance.

Issues related

closes #4754

@imrja8 imrja8 requested a review from Siumauricio as a code owner July 7, 2026 04:40
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jul 7, 2026
@Siumauricio Siumauricio merged commit 7871ce7 into Dokploy:canary Jul 7, 2026
@imrja8 imrja8 deleted the fix/sidebar-collapsed-scroll branch July 8, 2026 10:17
@imrja8 imrja8 mentioned this pull request Jul 8, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sidebar vertical scrolling is disabled in collapsed state

2 participants