I've got a few quick answers here before, so I'll try with another problem.
I'm trying to implement drag functionality into my application and found these examples in the live docs:
But dragging is allowed "outside" the canvas which just adds a scrollbar to it.
I want to restrict the allowed area so it just can be dragged inside the visible area. How do I do this?