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

drag silhouette (mirror) is re-sized from original during dragging #286

Closed
QuakePhil opened this issue Dec 30, 2015 · 1 comment
Closed
Labels

Comments

@QuakePhil
Copy link

commenting out two lines in dist/dragula.js solves the issue for me, but this "fix" looks very ugly and unnecessary, perhaps I'm missing something obvious here?

Here are the lines I commented out in renderMirrorImage()

459 //_mirror.style.width = getRectWidth(rect) + 'px';
460 //_mirror.style.height = getRectHeight(rect) + 'px';

@bevacqua
Copy link
Owner

You're probably relying on classes on parents of the element being dragged. See #248

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

No branches or pull requests

2 participants