Skip to main content

Search and Top Navigation

#8023 closed bug (invalid)

Opened January 18, 2012 08:15AM UTC

Closed November 19, 2012 09:06AM UTC

Resizable: Bug with scroll of ancestors

Reported by: tysauron Owned by: tysauron
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:
Description

during a resize only the scroll of the div parent and requests into account

Correction resize.js ln 258

replaced

if (o.containment) {
curleft + = $ (o.containment). scrollLeft () | | 0;
curtop + = $ (o.containment). scrollTop () | | 0;
}

by

$ (el). parents (). each (function () {
                         containerElement var = $ (this);
curleft containerElement.scrollLeft + = () | | 0;
curtop containerElement.scrollTop + = () | | 0;
});
Attachments (0)
Change History (4)

Changed January 18, 2012 01:09PM UTC by scottgonzalez comment:1

description: during a resize only the scroll of the div parent and requests into account \ \ Correction resize.js ln 258 \ replaced \ if (o.contai2nment) { \ curleft + = $ (o.containment). scrollLeft () | | 0; \ curtop + = $ (o.containment). scrollTop () | | 0; \ } \ \ by \ \ $ (el). parents (). each (function () { \ containerElement var = $ (this); \ curleft containerElement.scrollLeft + = () | | 0; \ curtop containerElement.scrollTop + = () | | 0; \ });during a resize only the scroll of the div parent and requests into account \ \ Correction resize.js ln 258 \ replaced \ {{{ \ if (o.containment) { \ curleft + = $ (o.containment). scrollLeft () | | 0; \ curtop + = $ (o.containment). scrollTop () | | 0; \ } \ }}} \ by \ {{{ \ $ (el). parents (). each (function () { \ containerElement var = $ (this); \ curleft containerElement.scrollLeft + = () | | 0; \ curtop containerElement.scrollTop + = () | | 0; \ }); \ }}}
summary: Bug quand resize dans une div qui a pour parent une autre div avec scrollResizable: Bug with scroll of ancestors

Changed October 11, 2012 02:52PM UTC by scottgonzalez comment:2

milestone: 1.9.02.0.0

Changed November 05, 2012 12:10AM UTC by tj.vantoll comment:3

owner: → tysauron
status: newpending

Thanks for taking the time to contribute to the jQuery UI project! Can you please provide a reduced test case showing the issue that this creates? To get you started, you can use this boilerplate: http://jsfiddle.net/ZgAqH/ Open the link and click to "Fork" (in the top menu).

I gave it a shot and can't create any issues http://jsfiddle.net/tj_vantoll/YwMXS/. This also might be a duplicate of #3815, #4701, or #7485.

Changed November 19, 2012 09:06AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!