Ticket #5406 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

autoHeight resize not working

Reported by: jghermsen Owned by:
Priority: minor Milestone: 1.8.3
Component: ui.accordion Version: 1.8
Keywords: Cc:
Blocking: Blocked by:

Description

I found the resize when using autoheight doesn't work if content gets larger.

Solution in the resize autoHeight section add:
$(this).css("height", "");
So something like:
maxHeight = 0;
this.headers.next().each(function() {

$(this).css("height", "");
maxHeight = Math.max(maxHeight, $(this).height());

}).height(maxHeight);

Change History

comment:1 Changed 4 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.9

Fixed in  ba387ce.

comment:2 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.3

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

Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working.

Changeset: ba387ce1c5ee4b0adce4f490fe1052ec525cb121

Note: See TracTickets for help on using tickets.