You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React 17 switched to using `focusin`/`focusout` events for
`onFocus`/`onBlur` [1]. floating-ui's focus manager appears to depend
on this implicitly, causing focus to revert to body when tab-ing back
into a floating portal with Reacht 16.
Manually using `focusin`/`focusout` appears to fix the problem.
[1] facebook/react#19186
0 commit comments