Help and docs
Sign in

R63 fix: focus a modal that is open on the first frame

Browse files
grindlemire 23d 4 files +32 ~1
Landed bygrindlemireas da5a4cd8 · with the 7 reviews below it See in history

A modal that traps focus moves focus into itself on the frame it opens.
SetRootComponent renders the tree once to install it, and when a modal
was already open that render used up the open signal: its overlay was
cleared before any frame drew, so the app started with nothing focused
and the first key went nowhere. The signal now carries over to the next
frame.