Nested Accordions Broken

TappedOut forum

Posted on Oct. 11, 2015, 5:40 p.m. by FancyTuesday

They use to work, now they don't. Putting an accordion inside another accordion now results in the body of both accordions being dumped into the nested accordion.

Also, it was once possible to put text and buttons inside accordions but outside of panels. That no longer seems to be the case.

TheHroth says... #2

October 11, 2015 7:33 p.m.

FancyTuesday says... #3

they

hmm?

Try putting text in the bodies of the panels.

October 11, 2015 7:37 p.m.

hyperlocke says... #4

Some stuff

Works for me...

yeaGO seems to be working on accordions and spoilers, so expect some malfunctions for a little while.

The Java tool I wrote some time ago still works, maybe use that for now.

I'm a panel!
Let's add a level...
Down the rabbit hole...
Inception!
We need to go deeper!
Let's leave it at that...
Whew, back at last.
October 11, 2015 7:41 p.m.

FancyTuesday says... #5

The syntax I'm using is:

===accordion

===panel:Do

they

===accordion

===panel:now

hmm?

===endpanel

===endaccordion

===endpanel

===endaccordion

I had this exact syntax in a deck description and it worked before, it has since stopped working. Am I arranging it wrong?

October 11, 2015 7:45 p.m.

hyperlocke says... #6

Yes, you're arraging them wrong. To avoid any issues, just close a tag right after you open it.

===accordion
===panel: Do
===accordion
===panel: They
===accordion
===panel: Now?
Hmmm...
===endpanel
===endaccordion
===endpanel
===endaccordion
===endpanel
===endaccordion
October 11, 2015 7:58 p.m.

TheHroth says... #7

That isn't what he was trying to accomplish.

He wanted:

Do

They

Now

Hmm...

October 11, 2015 8:02 p.m.

hyperlocke says... #8

Ah, my bad, you want an accordion after some text in a panel...

Yeah, that doesn't seem to work right now. If you convert your code with my tool (link above) it works.

they
hmm?

October 11, 2015 8:02 p.m. Edited.

FancyTuesday says... #9

stilladdingto multiple panels

===accordion
===panel: You're
still
===accordion
===panel: not
adding
===accordion
===panel: text
to multiple panels
===endpanel
===endaccordion
===endpanel
===endaccordion
===endpanel
===endaccordion
October 11, 2015 8:02 p.m.

FancyTuesday says... #10

And thank you for the tool. Don't worry, I have it patched up with HTML for now in my decklist (I actually wrote a tutorial on doing exactly this), just wanted to report the bug. It seems that the panel-bodies are all being added together and dropped in the final accordion.

EDIT: Also pretty funny, it looks like your tool used the same #ID for a couple accordions and now it opens up one from your first post when I try to click on your latest example.

October 11, 2015 8:04 p.m. Edited.

hyperlocke says... #11

Yeah, what I didn't expect to happen was for my code to open the accodion in my comments above... facepalm Although I should have, with creative IDs like "accordion_1"...

But still, if you use this tool on a deck description, it'll work...

If you have some workaround for now, cool. yeaGO seems to be working on accordions right now, they're acting up all over the place.

October 11, 2015 8:10 p.m.

This discussion has been closed