-
Notifications
You must be signed in to change notification settings - Fork 143
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
Breaks when parent container has transform3d #31
Comments
@janober having the same issue. Any solutions? |
Sorry, sadly not. Did also have no time yet to look into it any further... |
No worries. I'm going to try transforming the individual |
Great, good luck! Hope it works out for both of our sake ;-) |
I was able to "solve" this using a hack. Basically by translating the dragged element that is offset in CSS (can also be done in JS). Something like so: yourElement.sv-helper {
transform: translateY(-100px);
} forked and edited your codepen as an example: http://codepen.io/anon/pen/rVwWLP |
Ah great if that hack works in your use case! However do not think it would work for me. Because I would not know how much to move it back. In my case the offset is always different and would also not just consist of one parent that is offset like that, it would be multiple ones. |
I came across the same problem. It's described here: http://meyerweb.com/eric/thoughts/2011/09/12/un-fixing-fixed-elements-with-css-transforms/ I worked around it with this change: |
When the parent container has a transform3d on it the entries have an offset and some other strange things happening when they get moved.
Here a codepen to show the issue:
http://codepen.io/anon/pen/ogdXLK
The text was updated successfully, but these errors were encountered: