Answer the question
In order to leave comments, you need to log in
How to make such modal windows?
Hello!
It is necessary to make modal windows with background dimming:
When opening a second window, the first one should go under dimming:
But it should also be possible to customize the behavior.
For example, in some cases it is necessary to open a second window without dimming the first one:
Or, for example, temporarily hide the first window when opening the second one:
There can be as many such modal windows as you like.
In code, they should be usable in any component, at any level of nesting.
What do you think?))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question