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
Passing fork as a param in open method will place a new modal in a forkedQueue so it can be open above all others.
fork as method
Not much thought about
fork as a new instance of ModalController class
By creating ModalController instance, it will be possible to create a new forked branch of modals.
Modal windows can be open with a standalone instance of ModalController.
constmodalForked=newModalController()
fork as a layer concept ✅
Provide a new layer for each modal window independently. Which can be automatically chosen by forking (somehow) or putting it manually (e.g. in params in open method as layer).
Modal.open(MyComponent,{layer: 3})
The text was updated successfully, but these errors were encountered:
Solutions
fork
as parameterPassing
fork
as a param inopen
method will place a new modal in aforkedQueue
so it can be open above all others.fork
as methodNot much thought about
fork
as a new instance ofModalController
classBy creating
ModalController
instance, it will be possible to create a new forked branch of modals.Modal windows can be open with a standalone instance of
ModalController
.fork
as a layer concept ✅Provide a new layer for each modal window independently. Which can be automatically chosen by forking (somehow) or putting it manually (e.g. in params in
open
method aslayer
).The text was updated successfully, but these errors were encountered: