Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#1811 closed bug (fixed)

accordion animation prevents dynamic content

Reported by: crenix Owned by: joern
Priority: major Milestone: 1.5
Component: ui.core 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 (4)

comment:1 Changed 13 years ago by paul

Owner: set to joern

comment:2 Changed 13 years ago by joern

Resolution: fixed
Status: newclosed

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

comment:3 Changed 12 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

comment:4 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.