Skip to content

fix(project drawer)project rail drawer toggle#305

Open
suntianc wants to merge 1 commit into
hanshuaikang:mainfrom
suntianc:codex/fix-project-rail-toggle
Open

fix(project drawer)project rail drawer toggle#305
suntianc wants to merge 1 commit into
hanshuaikang:mainfrom
suntianc:codex/fix-project-rail-toggle

Conversation

@suntianc

Copy link
Copy Markdown
Contributor

Summary

  • Fix the project rail drawer toggle so clicking the double-chevron again closes the drawer.
  • Add a regression test for the open-then-close interaction.

Root Cause

The drawer listens for outside clicks on mousedown. When the drawer was open, clicking the rail toggle first triggered that outside-click handler, closing the drawer, then the button click handler toggled it open again.

Validation

  • pnpm lint
  • pnpm test
  • pnpm build

@suntianc suntianc changed the title [codex] fix project rail drawer toggle fix(project drawer)project rail drawer toggle Jun 17, 2026
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