Skip to content

fix(web): sidebar icons stay put while the sidebar collapses - #223

Merged
AadiJo merged 1 commit into
mainfrom
sidebar-rail-collapse-jump
Nov 8, 2026
Merged

AadiJo merged 1 commit into
mainfrom
sidebar-rail-collapse-jump

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Collapsing the sidebar threw the Settings gear (and the other rail icons) from the lower left to the middle of the sidebar for one frame, then slid it back to the left as the sidebar shrank.

The collapsed icon rail appears as soon as the sidebar collapses, while the sidebar is still animating down from full width, and it centered its icons in that full width. The rail now has a fixed width equal to the collapsed sidebar, so its icons start where they end. Sampling every frame of a collapse, the gear sat at x=105 on the first frame before this change and sits at x=10 after it. The collapsed rail is still 51px wide.

@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cadsense Skipped Skipped Nov 8, 2026 9:01pm UTC

@AadiJo
AadiJo merged commit 33139e8 into main Nov 8, 2026
8 checks passed
@AadiJo
AadiJo deleted the sidebar-rail-collapse-jump branch November 26, 2026 19:52

This branch was previously deployed

1 inactive deployment
Preview — f5009021 Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant