
Wrong scrolled positioning inside client rect with scrollbar
Hi!
Just found some bug. There is wrong on-scrolling position calculation when PIE element is placed into element having own scroll bars. You need to count parent scroll properties.
For beta3 fix is (in PIE_uncompressed.htc):
Code:
x = elBounds.x + ( par.scrollLeft || 0 ) - parRect.left - ( parseFloat(cs.borderLeftWidth) || 0 );
y = elBounds.y + ( par.scrollTop || 0 ) - parRect.top - ( parseFloat(cs.borderTopWidth) || 0 );
on line 2062.
For beta2 it's on line 1808.
Thanks.