fix: ensure consistent left-side submenu positioning#434
Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom Jan 13, 2026
fix/submenu-position-consistencybreaking-brake/cc-wf-studio:fix/submenu-position-consistencyCopy head branch name to clipboard
Merged
fix: ensure consistent left-side submenu positioning#434breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom fix/submenu-position-consistencybreaking-brake/cc-wf-studio:fix/submenu-position-consistencyCopy head branch name to clipboard
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/submenu-position-consistencybreaking-brake/cc-wf-studio:fix/submenu-position-consistencyCopy head branch name to clipboard
Conversation
- Add collisionPadding={{ right: 300 }} to all SubContent components
- Forces Radix UI collision detection to open submenus on the left
- Fixes #433
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merged
braking-brake-semantic-release Bot
pushed a commit
that referenced
this pull request
Jan 13, 2026
## [3.14.3](v3.14.2...v3.14.3) (2026-01-13) ### Bug Fixes * ensure consistent left-side submenu positioning ([#434](#434)) ([0679f7d](0679f7d)), closes [#433](#433) ### Improvements * add disable-model-invocation configuration UI for Slash Command export ([#443](#443)) ([8eac0a0](8eac0a0)) * reorganize SlashCommandOptions dropdown and add help link ([#444](#444)) ([d39a702](d39a702))
|
🎉 This PR is included in version 3.14.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In non-Focus Mode, the SlashCommandOptions dropdown submenus display inconsistently - some open on the right side, others on the left side.
Current Behavior
Expected Behavior
All submenus should open on the same side (left) for consistency.
Solution
Add
collisionPadding={{ right: 300 }}to allDropdownMenu.SubContentcomponents.This forces Radix UI's collision detection to determine there's insufficient space on the right, causing all submenus to consistently open on the left side.
Technical Details
sideprop fromSubContent(confirmed via TypeScript types)sideOffset,collisionPadding,collisionBoundary,avoidCollisionscollisionPaddingis the recommended approach to influence positioning behaviorChanges
File:
src/webview/src/components/toolbar/SlashCommandOptionsDropdown.tsxAdded
collisionPadding={{ right: 300 }}to 5 SubContent components:Testing
Fixes #433
🤖 Generated with Claude Code