Share Posted May 20, 2016 Hi, I've got a strange issue occurring with the bounds of my draggable instance. Instead of the minY being 0 and maxY being the height of the container i get completely different values so i am unable to drag to the end and the beginning shoots off the screen. It looks like the Draggable instance is calculating the bounds from the targeted element and not using the bounds. I am applying a 3D transform to the "container". Then adjusting the position of the child "content". Then the I have the instance of the draggable element. I have set it up this way so that i can control the Z axis easier for elements within the container. Can anyone help? Thanks in advance, Chris See the Pen bpPMbE by c-andrews (@c-andrews) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted May 20, 2016 I have managed to solve my problem using max and min values in the bounds. Man i love documentation! 1 Link to comment Share on other sites More sharing options...
Share Posted May 20, 2016 Glad you figured it out. Let us know if you need anything else. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now