Share

YUI Library

Tracker: Bugs

5 2.2.1 breaks positioning of editable datatable for FF2 - ID: 1699358
Last Update: Comment added ( gpuckett )

This worked fine in 2.2.0 with FF. The problem is that the page scroll is
not figured into the positioning of the inline edit element. The problem
is not seen in IE7 (which makes sense since coordinates are calculated
differently for IE).

The problem is visible on the YUI example page:
http://developer.yahoo.com/yui/examples/datatable/inlineediting.html

...with FF2, scroll down a bit and then click to edit one of the cells.
You will see that the edit element will appear on the page where the cell
would have been were there no scroll. Pretty simple to fix.


Nuttzy ( nuttzy99 ) - 2007-04-12 15:37

5

Closed

Fixed

george puckett

DataTable

2.2.1

Public


Comments ( 3 )

Date: 2009-01-24 08:36
Sender: gpuckettProject Admin

The YUI project has been migrated from Source Forge to YUILibrary.com.
This ticket has been moved to the tracker on YUILibrary.com that
corresponds to the project it was filed against (YUI2, YUI3, Compressor,
etc.). All tickets not yet closed on Source Forge have been transferred
with their current state intact. The Source Forge instance of all tickets
is being marked as closed to avoid confusion. You can track the
status/progress of this ticket at http://yuilibrary.com/ using the same
ticket ID as it held in Source Forge.


Date: 2007-04-16 15:27
Sender: miragliaProject Admin


We introduced a regression in 2.2.1 in the Dom component which caused this
error. That bug is now fixed and will be released in a patch planned for
this week.

Regards,
Eric


Date: 2007-04-15 17:08
Sender: devasatyam


I found that in :

YAHOO.widget.ColumnEditor.prototype.moveContainerTo

Commenting this 'workwaround' works around this problem

// Workaround getXY scroll bug for FF and SF
if(window.scrollX !== undefined) {
x += window.scrollX;
}
if(window.scrollY !== undefined) {
y += window.scrollY;
}


Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
assigned_to miraglia 2009-01-24 08:36 gpuckett
allow_comments 1 2009-01-24 08:36 gpuckett
status_id Open 2007-04-16 15:27 miraglia
resolution_id None 2007-04-16 15:27 miraglia
assigned_to nobody 2007-04-16 15:27 miraglia
close_date - 2007-04-16 15:27 miraglia