Side navigation
#2921 closed bug (wontfix)
Opened May 22, 2008 11:33AM UTC
Closed March 18, 2009 03:30AM UTC
Last modified March 14, 2012 04:10PM UTC
scrollTop and scrollLeft always return 0, when element is hidden
Reported by: | dragon | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | dimensions | Version: | 1.2.5 |
Keywords: | scroll error | Cc: | |
Blocked by: | Blocking: |
Description
scrollLeft and scrollTop always return 0 in Firefox 2, when the element is hidden (after a hide() call)
Attachments (0)
Change History (1)
Changed March 18, 2009 03:30AM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
The element has to be visible. Either the scrollTop/Left method has to do the detection and call .show() or you can just call .show() before getting these calculations. I'm reluctant to put the overhead of the detection into the scrollTop/Left methods.