Skip to content

Keep slash command popup columns stable while scrolling#19511

Merged
etraut-openai merged 1 commit intomainfrom
etraut/slash-popup-resize
Apr 25, 2026
Merged

Keep slash command popup columns stable while scrolling#19511
etraut-openai merged 1 commit intomainfrom
etraut/slash-popup-resize

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

Why

Fixes #19499.

The slash-command popup recalculated the command-name column from only the rows visible in the current viewport. That made the description column shift horizontally while scrolling through / commands whenever longer command names entered or left the visible window.

What Changed

codex-rs/tui/src/bottom_pane/command_popup.rs now uses the shared selection-popup AutoAllRows column-width mode for both height measurement and rendering. This keeps the command description column based on the full filtered slash-command list instead of the current viewport.

Verification

  • cargo test -p codex-tui bottom_pane::command_popup

Bojun-Vvibe added a commit to Bojun-Vvibe/oss-contributions that referenced this pull request Apr 25, 2026
- openai/codex#19524 merge-as-is (codex-mcp public surface trim)
- openai/codex#19511 merge-as-is (slash command popup column stability)
- BerriAI/litellm#26497 merge-as-is (chatgpt responses preserve text/parallel_tool_calls)
@etraut-openai etraut-openai merged commit 0c78559 into main Apr 25, 2026
25 checks passed
@etraut-openai etraut-openai deleted the etraut/slash-popup-resize branch April 25, 2026 21:26
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slash command popup columns shift while scrolling

2 participants