Skip to content

Desktop: Fix unresponsive model selector on Images/Video pages on macOS - #8048

Merged
danielhanchen merged 3 commits into
unslothai:mainfrom
NilayYadav:fix-mac-media-model-selector
Aug 7, 2026
Merged

danielhanchen merged 3 commits into
unslothai:mainfrom
NilayYadav:fix-mac-media-model-selector

Conversation

@NilayYadav

Copy link
Copy Markdown
Collaborator

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).

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 50944958df

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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.
@danielhanchen
danielhanchen self-requested a review as a code owner August 7, 2026 06:38
Comment-only pass over PR unslothai#8048: collapse the regression test docstring and
its inline note while keeping why the assertion exists.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: e7f6b582b7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@unslothai unslothai deleted a comment from NilayYadav Aug 7, 2026
@danielhanchen
danielhanchen merged commit 85ceb46 into unslothai:main Aug 7, 2026
28 of 32 checks passed
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.

2 participants