I am using react-moveable to detach a video chat component and i want to have the ability to return the video container back to its original position. I have tried to utilise target!.style.transform but it fails
Is there a best-practice way to reset the container back to its original dimensions and setting? (also tried to set resizable and
draggable to false - that didn't help either)
Environments
Description
I am using react-moveable to detach a video chat component and i want to have the ability to return the video container back to its original position. I have tried to utilise target!.style.transform but it fails Is there a best-practice way to reset the container back to its original dimensions and setting? (also tried to set resizable and draggable to false - that didn't help either)