Answer the question
In order to leave comments, you need to log in
How to make a div always open next to html?
Tell me how to make the div block open only near the closing tag /html when clicked.
That is, there are a bunch of components where you need to call a modal window, inserted at the bottom of each component and, accordingly, when called, it is displayed in the wrong place when viewing the code! <Modal>Контент< Modal>
Answer the question
In order to leave comments, you need to log in
You can create a portal https://reactjs.org/docs/portals.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question