macOS Popover
macOS Popover
Un macOS Popover est une petite surface qui apparaît pour un court instant. Une flèche pointe vers le contrôle ou le contenu qui l'a ouvert.
Un autre exemple
Cliquer sur un événement du calendrier ouvre un petit éditeur à côté. Cliquer ailleurs sauvegarde et ferme la fenêtre contextuelle.
Parties principales
- 01Déclencheur
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Utilisez-le lorsque
Utilisez-le pour une courte tâche autonome. Gardez-la clairement liée à l'élément qui l'a ouverte.
Ne l'utilisez pas lorsque
Ne pas mettre un formulaire long, plusieurs écrans ou des modifications faciles à perdre dans un popover. Utilisez plutôt une fenêtre ou une feuille.
Nom utilisé dans le code
AppKit NSPopover / SwiftUI popover Avant d'expédier
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome: Complete the task with macOS Popover (macOS Popover). User context: Cliquer sur un événement du calendrier ouvre un petit éditeur à côté. Cliquer ailleurs sauvegarde et ferme la fenêtre contextuelle. macOS concept or control: macOS Popover (macOS Popover). Why it fits: Utilisez-le pour une courte tâche autonome. Gardez-la clairement liée à l'élément qui l'a ouverte. Do not use it when: Ne pas mettre un formulaire long, plusieurs écrans ou des modifications faciles à perdre dans un popover. Utilisez plutôt une fenêtre ou une feuille. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): C'est officiel pour cette source. D'autres plateformes ou équipes peuvent utiliser le terme d'une autre manière. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
Vérifiez cette demande
Review how macOS Popover (macOS Popover) is used now. Definition: Un macOS Popover est une petite surface qui apparaît pour un court instant. Une flèche pointe vers le contrôle ou le contenu qui l'a ouvert. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.