This project is archived and is in readonly mode.

#203 ✓resolved
Chris Bolson

fx.accordion bug in version 1.2.4 - initialDisplayFx:false bug

Reported by Chris Bolson | December 2nd, 2009 @ 07:21 PM | in 1.2.4.3

In Fx.accordion, if you set the options like this:

var myAccordion = new Fx.Accordion($$('.togglers'), $$('.elements'), {

opacity:false,
display: 1,
initialDisplayFx:false



});
As expected this opens the second element in the accordion (the bug is the same whichever number you define).
However, when you click on another toggle, the first one closes correctly only to then jump open again.
After that it works correctly.

Working demo here:

http://mooshell.net/zRyhb/

Also, if you also dare to define "opacity:true" it gets even worse.
The elements that are "closed" pop open again but with opactiy set to 0 - the difference being that in this example it doesn't get better as more toggles are clicked:

http://mooshell.net/UPwzH/

Chris

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

Tags

Pages