Skip to main content

Search and Top Navigation

#4712 closed bug (notabug)

Opened July 24, 2009 02:38PM UTC

Closed November 16, 2009 08:22AM UTC

Last modified October 11, 2012 09:15PM UTC

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:
Description

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)
  • clearStyle-bug.zip (212.8 KB) - added by ken.sykora July 24, 2009 02:39PM UTC.

    reproducible bug

Change History (2)

Changed November 16, 2009 08:22AM UTC by jzaefferer comment:1

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.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted