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

Keep target element CSS position #11

Open
noup opened this issue Dec 23, 2014 · 0 comments
Open

Keep target element CSS position #11

noup opened this issue Dec 23, 2014 · 0 comments

Comments

@noup
Copy link

noup commented Dec 23, 2014

We're enabling jquery-udraggable in a div with "position:fixed" (it's fixed so its position doesn't change as we scroll the page). However, jquery-udraggable overwrites the position to "absolute".

Maybe the plugin should assume that the correct style must already be present in the target element, and not enforced by the plugin? In that case, this line would be deleted:
https://github.com/grantm/jquery-udraggable/blob/master/jquery.udraggable.js#L128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant