Skip to content

Conversation

@aleen42
Copy link

@aleen42 aleen42 commented Jan 15, 2026

When an image has both margin and padding, there are two problems:

  1. margin has set to the wrapper, but the image's one is not clear when initialising
  2. While destroying the resizable widget, the image has resized while setting the width with outerWidth or the height with outerHeight.

@mgol
Copy link
Member

mgol commented Jan 26, 2026

Thanks for the report. Does the issue you describe exist when jQuery UI 1.12.1 is used or only with jQuery UI 1.13.0 or newer?

@mgol
Copy link
Member

mgol commented Jan 26, 2026

Also, please provide a runnable test case on a platform like JS Bin.

@mgol
Copy link
Member

mgol commented Jan 26, 2026

I also didn't notice it was a PR. Changes like that also need tests ensuring the issue is really fixed.

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

Development

Successfully merging this pull request may close these issues.

2 participants