fix: prevent stale popup background regions

This commit is contained in:
2026-10-18 01:22:16 +02:00
parent f12ef7e7a1
commit 75c9a329d6
3 changed files with 4 additions and 3 deletions
@@ -214,6 +214,9 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
coveredPillAlpha = pill.alphaValue
}
coveredPill?.setAccessibilityHidden(true)
// Resolve the background crop before fading in a newly positioned popup.
host.layoutSubtreeIfNeeded()
background.needsDisplay = true
NSAnimationContext.runAnimationGroup { context in
context.duration = NSWorkspace.shared.accessibilityDisplayShouldReduceMotion ? 0 : 0.16
view.animator().alphaValue = 1