diff --git a/web/src/KVM.tsx b/web/src/KVM.tsx index 9280c11..ed8a44f 100644 --- a/web/src/KVM.tsx +++ b/web/src/KVM.tsx @@ -22,11 +22,35 @@ import { Btn, Loading, askYes, toast, useEscape } from './ui' type KeyboardLock = { lock?: (keys?: string[]) => Promise; unlock?: () => void } const keyboardAPI = (): KeyboardLock | undefined => (navigator as unknown as { keyboard?: KeyboardLock }).keyboard +// Fullscreen, across the three ways browsers spell it. Safari on a Mac wants the webkit +// prefix; Safari on iOS has no fullscreen for an ordinary element at all — only for a +//