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
I came across this when closing one dialog and after an async action triggered with onHide. After the async action returns successfully, I display a second dialog confirming success.
On displaying the second dialog, a warning Uncaught Error: You specified that the FocusContainershould focus an element on mount, but a focusable element was not found in the children. This could be because theinitialFocus prop is an invalid id or query selector, or the children do not contain a valid focusable element.undefined is displayed.
I fixed this by passing an initialFocus prop with an id to Dialog and it works fine, but this seems to be undocumented in the docs.