Search and Top Navigation
#10140 closed bug (fixed)
Opened July 08, 2014 01:20AM UTC
Closed August 04, 2014 01:32PM UTC
Last modified August 04, 2014 11:20PM UTC
Resizable: Width calculation is wrong when containment element is "position: relative"
Reported by: | kamatamadai | Owned by: | mikesherov |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.1 |
Component: | ui.resizable | Version: | 1.11.0 |
Keywords: | regression | Cc: | |
Blocked by: | Blocking: |
Description
Width is protrude from containment element.
See this example: http://jsfiddle.net/kamatamadai/5Tucc/
The previous version(v1.10.4) is working properly.
I think that it is this change cause https://github.com/jquery/jquery-ui/commit/c03cb8079c6984fb9286a64d980d367d86b9cd8b .
It should be added the following test case.
$( "#child" ).resizable({
containment: "#parent",
handles: "all"
});
Attachments (0)
Change History (8)
Changed July 08, 2014 02:10AM UTC by comment:1
status: | new → open |
---|
Changed July 08, 2014 12:31PM UTC by comment:2
keywords: | → regression |
---|
Reduced this some http://jsfiddle.net/tj_vantoll/5Tucc/6/.
I also verified this is a regression because the test case works with 1.10.4.
Changed July 16, 2014 08:13PM UTC by comment:3
Changed August 04, 2014 12:21PM UTC by comment:4
owner: | → mikesherov |
---|---|
status: | open → assigned |
Changed August 04, 2014 01:32PM UTC by comment:5
resolution: | → fixed |
---|---|
status: | assigned → closed |
Resizable: Fix containment calculation with relative parent
Remove an incorrect fix introduced in 47cd5b6f that causes
width calculations to be incorrect once the correct fix
was introduced in c03cb807
Fixes #10140
Changeset: 2779212a0e6e34fdea3f0d442e4d92218ac943fa
Changed August 04, 2014 01:44PM UTC by comment:6
milestone: | none → 1.11.1 |
---|
fiddle with proper inclusion of jQuery UI: http://jsfiddle.net/5Tucc/5/