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

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

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

display: 1,

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:

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:


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