Modify ↓
Ticket #5487 (closed bug: duplicate)
animate height or width changes display mode
| Reported by: | orlleite | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | effects | Version: | 1.3.2 |
| Keywords: | animate height width display | Cc: | |
| Blocking: | Blocked by: |
Description (last modified by dmethvin) (diff)
Hi!
When you add a animation to a element, the display css is changed. It's should be the correct way, but not ways. In my case, table-rows get a miss visualization when it's occurs.
I did a little change, for me it's works.
My line 4023:
if ( ( this.prop == "height" || this.prop == "width" ) && this.elem.style && this.elem.style.display != "table-row" )
Yours:
if ( ( this.prop == "height" || this.prop == "width" ) && this.elem.style )
Could be others cases like this, where jquery should not change the display mode. In my way, I verify the value of display style, but it's could be a parameter, pass in animate function, for example.
thx.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
