Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5058 closed bug (worksforme)

span hide, show problem

Reported by: mrgoust Owned by:
Priority: major Milestone: 1.3.2
Component: effects Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

hi, i don't sure if it is bug but, situation:

using jquery-1.3.2.min.js

when i use $("span").hide() and then $("span").show() method everything goes ok, but when i use $("span").show('slow') <span> style become wrong (display: block; ) appears in it .

(display: block;) make <span> behavior like <div> it's crash design.

Change History (2)

comment:1 Changed 10 years ago by DanTheMan

I think they have to set the display to block for the height and width animations to work.

Try to avoid animation by using show() / hide() without parameters.

comment:2 Changed 9 years ago by dmethvin

Component: unfiledfx
Resolution: worksforme
Status: newclosed

Correct, elements must be blocks to have their height animated. Inline elements do not have a height.

Note: See TracTickets for help on using tickets.