macOS Popover
macOS Popover
Um macOS Popover é uma pequena tela que aparece por um tempo curto. Uma seta aponta de volta para o controle ou conteúdo que o abriu.
Outro exemplo
Clicar em um evento do calendário abre um pequeno editor ao lado dele. Clicar em outro lugar salva e fecha o popover.
Partes principais
- 01Acionar
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Use-o quando
Use-o para uma tarefa curta que seja independente. Mantenha-a claramente ligada ao item que a abriu.
Não o use quando
Não coloque um formulário longo, muitas telas ou edições fáceis de perder em um popover. Use uma janela ou sheet em vez disso.
Nome usado no código
AppKit NSPopover / SwiftUI popover Antes de lançar
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: Clicar em um evento do calendário abre um pequeno editor ao lado dele. Clicar em outro lugar salva e fecha o popover. macOS concept or control: macOS Popover (macOS Popover). Why it fits: Use-o para uma tarefa curta que seja independente. Mantenha-a claramente ligada ao item que a abriu. Do not use it when: Não coloque um formulário longo, muitas telas ou edições fáceis de perder em um popover. Use uma janela ou sheet em vez disso. 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): É oficial para essa fonte. Outras plataformas ou equipes podem usar o termo de outra maneira. 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.
Conferir este pedido
Review how macOS Popover (macOS Popover) is used now. Definition: Um macOS Popover é uma pequena tela que aparece por um tempo curto. Uma seta aponta de volta para o controle ou conteúdo que o abriu. 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.