I'm trying to place a map within a smaller mask area and have it draggable only within the bounds of the mask. I figured draggable.constraints would work, but it is funky.
I did figure out a solution using an if statement for the draggable x position of the map (if map.x > number, draggable.speedX = 0) , but is there something better?
Here is the funky example:
This is what you want: http://framerjs.com/docs/#layer.draggable.overdrag
I was confused about this recently as well. You can use ScrollComponent to get the behavior you want.
Brandon, could you share a link to this prototype?
I should warn you if your contents is larger than your constraints. I can see how this is confusing.