Opened 13 years ago
Closed 13 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 13 years ago by
comment:2 Changed 13 years ago by
Component: | unfiled → fx |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
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.
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.