Skip to content

fix(native): admit explicit menu trigger backgrounds - #519

Merged
tiensonqin merged 4 commits into
mainfrom
fix/menu-trigger-background
Dec 3, 2026
Merged

tiensonqin merged 4 commits into
mainfrom
fix/menu-trigger-background

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Admit BackgroundValue on MenuTrigger in the wire contract. The SDL painter already gives explicit backgrounds precedence over the default trigger face, so a transparent background lets an icon-only trigger show its parent surface through hover and press.

The component schema checks pass. A signed Logseq Cocoa build with the same change on its LUI pin shows the sidebar row fill through hover and press and keeps the 32×32 hit target, menu placement, and Escape dismissal.

Link to Devin session: https://app.devin.ai/sessions/70358b339f804f0788b4f5f933ba907b
Open in Devin Desktop: https://app.devin.ai/desktop/session/70358b339f804f0788b4f5f933ba907b?variant=devin
Requested by: @tiensonqin


🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 finding. Devin automatically fixed it.

Fixed by Devin (1)
  • Invisible highlighted Web submenu triggers — The Web renderer now supplies the authored resting fill through a CSS property. Chromium confirmed that pointer hover and keyboard focus restore both colors of the menu highlight.

View findings in Devin Review · Follow Devin's work

Devin Review

@tiensonqin
tiensonqin merged commit 3e200b3 into main Dec 3, 2026
11 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.

1 participant