Bug Tracker

Modify

Ticket #6036 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

Animating visibility breaks the display type of elements.

Reported by: lhunath Owned by:
Priority: major Milestone: 1.4.2
Component: effects Version: 1.4.1
Keywords: Cc:
Blocking: Blocked by:

Description

While .toggle(); correctly preserves the element's display type, animate(height: 'toggle'); for instance, does not.

In fact, in 1.4 it seems to be that the display type is first set to "block" for the duration of the animation and then reset to the correct display type.

See test case at:  http://stuff.lhunath.com/jquery-tbody-block.html

This breaks the layout of my tables as block obviously renders differently than table-row-group.

Change History

comment:1 Changed 3 years ago by marcandre

+1

Completely unusable for table rows spanning more than a row, for instance.

See my test case at:  http://marc-andre.ca/posts/misc/jQuery_row_bug.html

comment:2 Changed 3 years ago by dmethvin

  • Component changed from unfiled to fx

comment:3 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #2185.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.