Skip to main content

Bug Tracker

Side navigation

#8833 closed bug (worksforme)

Opened April 10, 2011 05:20AM UTC

Closed April 10, 2011 05:58AM UTC

Last modified April 28, 2011 03:33PM UTC

scrollTop/animate - animate does not stop.

Reported by: developer@suomedia.com Owned by:
Priority: undecided Milestone: 1.next
Component: effects Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

Using scrollTop in the following manner, browser Firefox 3.6.16:

$('html,body').animate({ scrollTop: $("#page").offset().top }, { duration: 'slow'});

After the page finishes scrolling, if you try to scroll the page with mouse wheel or browser scroll bar, the page wants to return to scrolled position.

Attachments (0)
Change History (3)

Changed April 10, 2011 05:58AM UTC by addyosmani comment:1

resolution: → worksforme
status: newclosed

Thanks for submitting a ticket to the jQuery project!.

Please see here for a live test case of the code you supplied: http://jsfiddle.net/addyosmani/xS88W/show/. I haven't been able to reproduce the issue you mention using jQuery 1.5.2 and Firefox 3.6.16 or Firefox 4.

It's possible that you may be using some additional logic or plugins on your page that are contributing to the behavior you're seeing.

Changed April 10, 2011 03:50PM UTC by rwaldron comment:2

component: unfiledeffects

Changed April 28, 2011 03:33PM UTC by neoswf comment:3

I'm using 1.4.4 and it happening to me as well....