Opened 12 years ago

Closed 12 years ago

#7177 closed bug (worksforme)

Accordion auto-height problems with margins and borders

Reported by: claar Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.accordion Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:


See this jsFiddle: which adds margins and borders to simple header and content elements, and calls accordion().

Accordion acts perfectly with padding, but the latest versions still do not properly handle margins on the header or content elements.

Expected result: Accordion outer element stays the same size when clicking on each header

Observed result in FF/Chrome/IE9: Accordion outer element is larger during the animation, then (usually) shrinks back to the original size after the animation is finished.

#4436 and others claim to resolve these issues, but do not fix the above test page for margins and borders.

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: worksforme
Status: newclosed

This works fine for me when I include a theme. The widget-specific CSS files are required.

Note: See TracTickets for help on using tickets.