Repository navigation
Desktop: Fix unresponsive model selector on Images/Video pages on macOS - #8048
Conversation
…itlebar drag region
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
The fix is four class tokens with nothing asserting them, so a refactor could drop it silently and the regression is invisible until someone clicks the selector on a Mac. Assert the band out-stacks the drag region and every control group stays click-through.
Comment-only pass over PR unslothai#8048: collapse the regression test docstring and its inline note while keeping why the assertion exists.
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
On macOS, the Navbar renders an invisible titlebar drag strip across the top 34px of the window at z-40. The Images and Video page headers sat underneath it, so hovering or clicking "Select image model" / "Select video model" (and the Create/Train switch on Images) hit the drag strip instead of the controls the selector appeared completely unresponsive and clicks dragged the window.
Fix mirrors the chat header: the media page header bands are now relative z-40 pointer-events-none with pointer-events-auto on the control groups, so the controls sit above the drag strip while the empty header area still drags the window. Windows/Linux are unaffected (content there is already inset below the custom titlebar).