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
The way we use Modals is primarily async so using Portals here is trickier, we now use Portals for Context Menus though which is a big win.
The next step here would be to mount Modals within the React tree but somewhere high up, so that they don't get the context of the caller but maybe that of LoggedInView at the least. This can be done using contexts + portals.
So external libraries better support our Modals due to proper conventions, it simplifies Modal.js and cleans up DOM debugging in React Dev Tools
https://reactjs.org/docs/portals.html
The text was updated successfully, but these errors were encountered: