Robert Fridzema
Robert Fridzema

Reputation: 523

Semantic ui accordion dropdown

I am dealing with a strange problem. I want to use a tabular menu inside the accordion.

Now the problem is that somehow the html gets scrambled inside the accordion.

I have made a fiddle to demonstrate this problem: jsfiddle

is just do a standard:

$(document).ready(function() {
  var accordion = $('.ui.accordion');
  $(accordion).accordion();

  $('.tabular.menu .item').tab();
})

The problem occurs when you toggle the first tab or open any other tab. On first initialization there is nothing wrong en everything works fine.

I hope anyone can help me out with this

Upvotes: 2

Views: 1314

Answers (1)

Robert Fridzema
Robert Fridzema

Reputation: 523

Thanks for your help guys, really appreciate it!

The fix is given on the github repo

$('.ui.accordion').accordion({
  animateChildren: false
})

Upvotes: 1

Related Questions