Opened 6 years ago

Closed 6 years ago

#9433 closed bug (notabug)

JQuery ui accordion option heightStyle: "content" is ignored for dynamic content

Reported by: Kimpo Owned by: Kimpo
Priority: minor Milestone: none
Component: ui.accordion Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

The accordion panel does not expand vertically when a section is loaded with dynamic content even though the option heightStyle is set to "content".

This does however work in jquery ui 1.9.2

Change History (3)

comment:1 Changed 6 years ago by tj.vantoll

Owner: set to Kimpo
Status: newpending

Hi Kimpo,

Thanks for taking the time to contribute to the jQuery UI project. Can you please create a test case that shows this behavior? You can use this as a starting point: http://jsfiddle.net/tj_vantoll/UkSWw/.

Although from your description it sounds like you need to use the refresh method.

comment:2 Changed 6 years ago by Kimpo

Status: pendingnew

ok, i made a fool of myself, this is not a bug :/

I did tests in isolated enviroment and got it working with Angularjs bindings which made me realize that there was some fundamental flaws in our implementation of ui controls.

Sorry for bothering you

comment:3 Changed 6 years ago by Scott González

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.