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
We currently render modals as children of the components or buttons that will trigger them.
This is very limiting, as it doesn't allow a good way to manage the modals and to open another modal from within a modal.
Modals should be managed by a global service that abstracts them. Actions to open a modal will open a modal, same for closing.
If a modal is opened while another one is already displayed it will be rendered as a child modal - and clicking outside will close the latest modal.
case study: opening wallet connect modal from within the deposit modal.
Currently there's no good way to do it.
In the suggested way the modal at the root will display the deposit modal and will render a child modal - the wallet connect modal.
The text was updated successfully, but these errors were encountered:
after adding 3 different tokens to bancor network v3 pools, i was unable to scroll down to view the bottom of the screen on the portfolio page. (actually, even when navigating to other pages, i was unable to scroll down). after refresh, it was working again.
We currently render modals as children of the components or buttons that will trigger them.
This is very limiting, as it doesn't allow a good way to manage the modals and to open another modal from within a modal.
Modals should be managed by a global service that abstracts them. Actions to open a modal will open a modal, same for closing.
If a modal is opened while another one is already displayed it will be rendered as a child modal - and clicking outside will close the latest modal.
case study: opening wallet connect modal from within the deposit modal.
Currently there's no good way to do it.
In the suggested way the modal at the root will display the deposit modal and will render a child modal - the wallet connect modal.
The text was updated successfully, but these errors were encountered: