Skip to content

Resizable : Width calculation is wrong #1280

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

Closed
wants to merge 1 commit into from

Conversation

dekajp
Copy link
Contributor

@dekajp dekajp commented Jul 14, 2014

when containment element is position: relative and immediate parent

Fixes - #10140

when containment element is  position: relative and immediate parent

Fixes - #10140
hoset = Math.abs( ( that._helper ? that.offset.top - cop.top : ( that.offset.top - co.top ) ) + that.sizeDiff.height );
woset = Math.abs( ( that._helper ? that.offset.left - cop.left :
( that.offset.left - co.left ) ) + that.sizeDiff.width + (
( isParent && isOffsetRelative ) ? Math.abs( that.parentData.left ) : 0 ) );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can't be a valid fix since isParent and isOffsetRelative are always undefined at this point.

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

Successfully merging this pull request may close these issues.

2 participants