This project is archived and is in readonly mode.

#462 ✓resolved

Remove or Rename the Fx.Scroll scrollIntoView and scrollIntoCenter methods

Reported by Arian | December 17th, 2010 @ 12:25 AM | in

I don't really see why we have those functions.

First they have a bad API. The other methods are called like toElement, toTop, toRight. These two methods are called scrollInto* which is ugly and not consistent.

Secondly I don't like them in general. I don't think they are very useful and make Fx.Scroll twice as big. I cleaned some stuff in those methods for the 1.3 release, because there were even several variables that weren't used. No offense to the author(s) but it was poorly done.

Finally they are not documented. So we could remove them without any harm :)

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 »

The MooTools Extensions