Bug Tracker

Opened 8 years ago

Closed 8 years ago

#1811 closed bug (fixed)

accordion animation prevents dynamic content

Reported by: crenix Owned by: joern
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: accordion dynamic Cc:
Blocked by: Blocking:


The accordion changes the style of the div that contains it. So at the end of the animation, the style is something like: style="overflow: hidden; height: 109px"

The problem is if you have dynamic content within that accordion, then any new content you add in gets cut off because of the height constraint and overflow.

My suggestion is after the animation is done, to clear the style completely so everything is back to auto.

Change History (2)

comment:1 Changed 8 years ago by paul

  • Owner set to joern

comment:2 Changed 8 years ago by joern

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in latest revision. Added the clearStyle option for this usecase. Won't work in combination with autoheight.

Note: See TracTickets for help on using tickets.