Anchor a popover to its control
DefaultAdapts
Rule. Open a short choice in a sheet.
Wide screen. On a wide screen, anchor a popover to its control, and close it on Esc or an outside press. (Triggers: Fine pointer, Keyboard)
Why. A phone has little room, so a sheet holds a short choice. A popover keeps the person near the control.
When not. A long form needs more room than a sheet or a popover. Use a page or a dialog.
- Open the popover under its control.
- Keep it to a few short fields or options, and one button.
- Return focus to the control when the popover closes (15.13).
Do. A short choice sits under the control that opened it.
Don't. A 4-field form crowds the popover. Use a page or a dialog.
Size pair. The phone opens a sheet. The window opens a popover under Move.