[BUG] Popup briefly flashes at top-left before animating to correct position

Status Closed — not planned
Maintainer reply None cached
Activity 7 comments · opened Feb 28, 2026 · closed Apr 5, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In claude.ai , when clicking the + button (file/image attachment) or the model selector in the chat input area, the dropdown popup briefly appears at the top-left corner of the screen for ~100-200ms before jumping to its correct position below the button.

What Should Happen?

Expected behavior: Popup appears directly at its correct position

Platform: macOS (Darwin 25.3.0)

Error Messages/Logs

Steps to Reproduce

Open Claude Code
Click the + button or the model name selector near the chat input
Observe the popup flashes at top-left first, then snaps to its correct position
if you doesnt notice then first click + to add file then instantly click model selection.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

web

Claude Code Version

latest

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

7 Comments

amanraox · 7 months ago

Suggested fix: Render popup with visibility: hidden, allow layout/positioning to complete, then transition to visibility: visible. This prevents the top-left flash.

xcsnowcity · 7 months ago

Same, but it only occurs when I click the "model selector" button. The "add files" button is fine. I have attached the screen recording; you need to focus on the top-left corner because it only shows for a fairly short time.

https://github.com/user-attachments/assets/ef289850-ab28-4d34-aecf-5c06e70fc035

amanraox · 7 months ago

Actually i believe popup render style is like this from server side, and its for both "adding files" and "model selection", its just most of the times the browser is fast so rendering on top left corner is skipped. I believe this can be entirely fixed.

amanraox · 7 months ago

@xcsnowcity thanks for adding video.

github-actions[bot] · 6 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

xcsnowcity · 6 months ago
Actually i believe popup render style is like this from server side, and its for both "adding files" and "model selection", its just most of the times the browser is fast so rendering on top left corner is skipped. I believe this can be entirely fixed.

I have created a Tampermonkey script to temporarily fix this. it's called 'Claude dropdown flash fix'

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.