Skip to main content

Bug Tracker

Side navigation

#5058 closed bug (worksforme)

Opened August 16, 2009 08:27PM UTC

Closed June 13, 2010 04:28PM UTC

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.

Attachments (0)
Change History (2)

Changed August 27, 2009 11:24AM UTC by DanTheMan comment:1

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.

Changed June 13, 2010 04:28PM UTC by dmethvin comment:2

component: unfiledfx
resolution: → worksforme
status: newclosed

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