I’m building a phone app that allows users to drag shapes onto another “droppable” div, however I’ve run into a slight issue.
I am able to drag the shape outside of the application screen and continue dragging it further and further down or right of the original body div.
How would I lock the screen dimensions to a set width and height so the user cannot drag the shape outside of the actual application “screen”?
Use the
viewportmetatags.