Offset problem ?
Offset problem ?
Hey jQuery team
I got a report of scrollTo working inaccurately when scrolling a
tbody to different trs, I checked the demo for a while, and if I'm not
wrong, I think Firefox (the only browser this demo was working on)
added the scrollTop of the tbody, to its offsetTop, or something like
that.
The first scroll was ok, but further calls seemed to always add to the
actual offset, even when scrolling to the same tr as before.
The demo was just a table, the tbody had height defined and
overflow:auto, wasn't scrollable in IE.
I made a temporary patch for scrollTo 1.3.3: http://plugins.jquery.com/node/1845
If any of you (probably Brandon) can ever check this, maybe it can be
patched inside .offset().
Cheers
Ariel Flesler