Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

#4712 closed bug (notabug)

clearStyle option not being respected when opening the initial accordion box

Reported by: ken.sykora Owned by:
Priority: minor Milestone:
Component: ui.accordion Version: 1.7.2
Keywords: clearStyle Cc:
Blocked by: Blocking:


When you use the option clearStyle and allow the accordion to open a default section, it leaves the height information in the style attribute. Clicking another accordion header and then going back to the originally selected header clears the style correctly. I would expect that the clearStyle option would be used when setting the initial accordion box selection.

See the attached files.

Picture 4: firebug showing the height style property on the initial selected div element Picture 5: firbug showing the same div element after the user clicks another section and then back into the initially selected section

Attachments (1) (212.8 KB) - added by ken.sykora 14 years ago.
reproducible bug

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by ken.sykora

Attachment: added

reproducible bug

comment:1 Changed 13 years ago by Jörn Zaefferer

Resolution: invalid
Status: newclosed

Combining (the default) autoHeight: true with clearStyle: true doesn't make much sene (the API shouldn't allow that combination in the first place). With autoHeight: true, the height is set on init, with clearStyle: true that would be removed again. Just set autoHeight: false instead.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.