-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
getBoundingClientRect #1457
Comments
@MaxCrasy Could you please post the original error message? |
Solved in 7742067 |
@owen-m1 |
@JurrijnP Please try reproducing using the latest Sortable.js file on |
Happens when source is either |
@JurrijnP Please let me know if it is solved if you build |
I had a problem using the framework when all the elements were hidden,
So to fix the bug I've edited these function lines
function _getRect(el, container, adjustForTransform) {
if (el === null) { return; }
and
function _ghostIsLast(evt, axis, el) {
targetS2 = elRect === undefined ? 0 : axis === 'vertical' ? elRect.bottom : elRect.right,
targetS1Opp = elRect === undefined ? 0 : axis === 'vertical' ? elRect.left : elRect.top,
targetS2Opp = elRect === undefined ? 0 : axis === 'vertical' ? elRect.right : elRect.bottom,
The text was updated successfully, but these errors were encountered: