Focus windowns on touchstart

This commit is contained in:
Jordan Eldredge 2021-06-08 21:35:18 -07:00
parent b5b7345308
commit 0d9cee11b3

View file

@ -69,6 +69,7 @@ function FocusTarget({ onKeyDown, windowId, children }: Props) {
<div
ref={setRef}
onMouseDown={focusHandler}
onTouchStart={focusHandler}
onFocus={focusHandler}
tabIndex={-1}
style={{ height: "100%", width: "100%" }}