This project is archived and is in readonly mode.

#528 ✓resolved

Chain.Wait breaks chainComplete event

Reported by Dan | February 28th, 2011 @ 12:57 AM | in

When creating an Fx chain, the use of the wait function causes the chainComplete event to not behave as I would expect.


new Fx.Tween(myElement, { 
    link: 'chain',
    property: 'opacity',
    onChainComplete: function(item) { console.log('Complete'); },

This results in "Complete" being logged twice, once at the end of the first start() and again at the end of the final start(). I assume that since the wait function should be extending the chain then this behaviour is incorrect.

This was tested with MooTools More v1.3.1.1

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

People watching this ticket