fix(export): prevent dropdown from disappearing on hover - #483
Conversation
Add an invisible bridge pseudo-element between the logo and dropdown to cover the 4px gap, and add a 120ms hide delay so pointer-events don't drop instantly when hover is briefly lost. Closes #463 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 03055798d0
ℹ️ 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".
| left: 0; | ||
| right: 0; | ||
| height: 12px; | ||
| pointer-events: auto; |
There was a problem hiding this comment.
Disable bridge hitbox when dropdown is hidden
The new ::after bridge is permanently hit-testable (pointer-events: auto), so it captures clicks in the 12px strip under the logo even when the menu is closed. That reintroduces the same class of interaction problem this area previously avoided with pointer-events: none on the wrapper, and in compact Gemini layouts it can block underlying controls/content directly below the logo. Consider enabling bridge hit-testing only while the wrapper/menu is hovered/open.
Useful? React with 👍 / 👎.
Addresses Codex review: the ::after bridge was permanently pointer-events:auto, blocking clicks below the logo even when the dropdown was hidden. Now it's only interactive on hover. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
pointer-events: nonegap between the logo and dropdown caused hover to break during mouse transition::afterbridge pseudo-element (12px) to cover the gappointer-eventsdoesn't drop instantly on brief hover lossTest plan
Closes #463
🤖 Generated with Claude Code