Answer the question
In order to leave comments, you need to log in
How to implement a modal window that can be moved?
Hey! I use React in my project. Love React!
I have a video player component. I want to implement a button, when pressed, the player (component or div block) will become smaller and this block (the component could be moved). Question - how? Where in the tree should this component be? And how to implement it in general? Also, I want to implement it the way it is done in the Yandex browser. On my Mac, if I switch the tab, this window does not disappear anywhere. That is, even if you expand the browser, this player will be at the bottom right. I want to implement it. Please answer in detail. Thank you very much in advance!
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