Skip to content

Resizable: Fix resizing of border-box elements with a padding - #2416

Open
charlesmass2 wants to merge 1 commit into
jquery:mainfrom
charlesmass2:fix_border_box_jump
Open

Resizable: Fix resizing of border-box elements with a padding#2416
charlesmass2 wants to merge 1 commit into
jquery:mainfrom
charlesmass2:fix_border_box_jump

Conversation

@charlesmass2

Copy link
Copy Markdown

On resize start, size & originalSize are computed from the computed CSS width & height. for border-box elements, that includes padding & border. Subtract padding & border when passing dimensions to width() and height()

Fixes #2382

On resize start, size & originalSize are computed from the computed CSS width & height.
for border-box elements, that includes padding & border.
Subtract padding & border when passing dimensions to width() and height()

Fixes jquerygh-2382
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 4, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: charlesmass2 / name: Charles Masson (52f9329)

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.

border-box elements with a padding are wrongly resized, since 1.14.1

1 participant