Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4439 closed bug (fixed)

$.offset() and $.position() causes flicking screen in FF

Reported by: TNT Owned by: brandon
Priority: major Milestone: 1.4
Component: offset Version: 1.3.2
Keywords: offset position Cc:
Blocked by: Blocking:

Description

Hi. i found bug. i have test page where use $.offset() to determine exact position on element in the page. the bug is: when page have a vertial scroll bar, and when I'm scrolled down I try following ofs=$('#some_element').offset(), the screen flick in FireFox 2.0.20 but in IE6 everithing is ok. i try to debug JavaScript (jQuery and jQuery-letest) and this bug causes on line 4242: body.style.marginTop = bodyMarginTop; when i comment this line the bug is no longer appear. I uploaded test page at http://tnt-soft.net/bug/

when you try: 1: scroll down 2: then click 'edit' icon 3: look screen will flick

Attachments (2)

bug-1.gif (42.9 KB) - added by TNT 11 years ago.
screen shot 1
bug-2.gif (42.2 KB) - added by TNT 11 years ago.
screen shot 2

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by TNT

Attachment: bug-1.gif added

screen shot 1

Changed 11 years ago by TNT

Attachment: bug-2.gif added

screen shot 2

comment:1 Changed 11 years ago by brandon

Status: newassigned

comment:2 Changed 11 years ago by brandon

Resolution: fixed
Status: assignedclosed

Fixed in r6302

Thanks for the test case! :)

comment:3 Changed 11 years ago by pbcomm

Can we not use property names like 'subtractsBorderForOverflowNotVisible' which do not minify? thus making the library unnecessary bigger.

comment:4 Changed 11 years ago by TNT

can anyone rebuild jquery-nightly.js from SVN please.

i need revision 6302, but on download page i can donwload only Revision: 6300 / Date: 2009-03-22.

Note: See TracTickets for help on using tickets.