Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed and initial position. #134

Closed
guidoferreyra opened this issue Jun 9, 2016 · 3 comments · May be fixed by atlsecsrv-com/docs#42 or atlsecsrv-com/docs#43
Closed

fixed and initial position. #134

guidoferreyra opened this issue Jun 9, 2016 · 3 comments · May be fixed by atlsecsrv-com/docs#42 or atlsecsrv-com/docs#43

Comments

@guidoferreyra
Copy link

Hi!
I have elements with position: fixed and initial position of the elements setted with left and top. But when draggabilly is running it overrides the position: fixed style, adding position: relative, so my items are not in the initial position that I want.
Any idea how can I achieve this?

Thanks in advance!

@guidoferreyra
Copy link
Author

I looked to the draggabilly.js and I've found that I can use position: absolute and this solves my issue, but when I start to drag, in the first mouse move the element is "teleported" a few pixels away the initial position and then it drags fine.

@desandro
Copy link
Owner

Thanks for reporting this issue. Draggabilly v2.1.1 has been released with a fix for this issue. Please upgrade and see how it works!

@guidoferreyra
Copy link
Author

guidoferreyra commented Jun 10, 2016

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment