Opened 8 years ago

Closed 8 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:

Description

See this jsFiddle: http://jsfiddle.net/pRzv9/1/ 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 8 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. http://jsfiddle.net/pRzv9/2/

Note: See TracTickets for help on using tickets.