Allow disabling automatic sidebar expansion on mouse hover
What variant of Codex are you using?
Codex Desktop App (macOS)
What feature would you like to see?
Problem
The left project sidebar automatically expands whenever the mouse cursor touches the left edge of the window.
For users who spend many hours working in Codex, especially on large monitors or while frequently moving the cursor between applications, this happens unintentionally dozens or even hundreds of times per day.
The sidebar opens even when I have no intention of interacting with it, interrupting the workflow and causing accidental UI changes.
Expected behavior
Please add an option to control the sidebar behavior.
For example:
Settings → Sidebar
- [ ] Auto-expand on hover
- [ ] Require click to open sidebar
- [ ] Always keep sidebar collapsed until manually opened
Why this matters
Many professional users keep the sidebar collapsed because the main editor/chat area is more important than the project list.
Automatic expansion on hover reduces usable workspace and repeatedly interrupts the reading and editing flow.
This is especially noticeable when:
- working with multiple monitors;
- using a large mouse movement area;
- selecting text near the left edge;
- dragging files into the window;
- working for many consecutive hours.
Benefit
Giving users control over the sidebar behavior would improve usability without changing the default experience for existing users.
Those who like the current behavior could simply leave "Auto-expand on hover" enabled, while users who prefer a more stable interface could disable it.
P.S.
This is similar to the behavior available in many professional IDEs, where the navigation panel can either auto-hide or require an explicit click to reopen, depending on user preference.
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This would be incredibly useful for my workflow.
I keep Codex open on the right third of my screen while using the left two-thirds for my main work. The sidebar unnecessarily covers part of the Codex view, so this would make that layout much more usable.
+1. The left-edge hover reveal is too easy to trigger accidentally and is disruptive during normal cursor movement. Please add a setting to disable hover-to-open entirely and require an explicit click or keyboard shortcut instead. Ideally, click-only should be the default behavior.
#Me too
It's way too easy in a multimonitor environment, moving from a monitor on the left into the maximized coded window, triggering the expansion and click something mistakenly.
Probably a bug in and of itself, but just unintentionally clicked archive and completely lost a massive amount of uncommitted work. Then burned the rest of my tokens trying to get codex to audit itself to recover.