This project is archived and is in readonly mode.

#41 ✓resolved
Thomas Aylott

Fx.Scroll - set() doesn't support offset

Reported by Thomas Aylott | May 28th, 2008 @ 10:05 AM

Originally posted on Trac by nea

Original Trac Ticket

Description

set() doesn't scroll to the same position as start()

Is:

set: function(){
	var now = Array.flatten(arguments);
	this.element.scrollTo(now[0], now[1]);
},

Should be something like:

set: function(){
	var now = Array.flatten(arguments);
	this.element.scrollTo(
		now[0] + this.options.offset.x,
		now[1] + this.options.offset.y
	);
},

Trac Attachments

Trac Comments

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages