This project is archived and is in readonly mode.

#1132 ✓wontfix
Macku

Fx onComplete bug in MooTools 1.3

Reported by Macku | January 9th, 2011 @ 02:04 PM

Code examples:
http://www.jsfiddle.net/PPQcf/ (MooTools 1.2.5) After click on box you should see text in console only once.
http://www.jsfiddle.net/PPQcf/1/ (MooTools 1.3.1) Text will appears continuously (some kind of interval?)

Comments and changes to this ticket

  • Macku

    Macku January 9th, 2011 @ 02:05 PM

    • Title changed from “onComplete bug in MooTools 1.3” to “Fx onComplete bug in MooTools 1.3”
  • Arian

    Arian January 9th, 2011 @ 04:25 PM

    • State changed from “new” to “wontfix”

    That's because in 1.3 events will only be added and not removed on a second 'setOptions' (which is set('tween') calling). So because you keep calling .tween in the onComplete event, it will keep going on.

    The correct use of this is: http://www.jsfiddle.net/PPQcf/2/
    I set the link option to 'chain' so the morph methods are executed after each other.

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

Pages