Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8833 closed bug (worksforme)

scrollTop/animate - animate does not stop.

Reported by: [email protected] 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.

Change History (3)

comment:1 Changed 11 years ago by addyosmani

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.

comment:2 Changed 11 years ago by Rick Waldron

Component: unfiledeffects

comment:3 Changed 10 years ago by neoswf

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

Note: See TracTickets for help on using tickets.