Side navigation
#6585 closed bug (worksforme)
Opened May 19, 2010 08:35PM UTC
Closed November 10, 2010 12:52AM UTC
Last modified November 10, 2010 02:02AM UTC
Non-immediate .hide() pulls <li> from <ol> list
Reported by: | ddb14 | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | manipulation | Version: | 1.4.2 |
Keywords: | hide show OL | Cc: | |
Blocked by: | Blocking: |
Description
Hiding a single (or multiple) item in an ordered list with any delay changes the list item's index to 1. Without a time delay, this does not occur.
Here is a simple test case that hides the second item. If you hide it slowly, when you reshow it, item 2 shows as #1.
<ol>
<li>this is an item 1 to display</li>
<li id="num2">this is an item 2 to display</li>
<li>this is an item 3 to display</li>
</ol>
<input type="button" onClick='$("#num2").hide();' value=' Hide number 2 '/>
<input type="button" onClick='$("#num2").show();' value=' Show number 2 '/>
<input type="button" onClick='$("#num2").hide(500);' value=' Hide number 2 slowly'/>
<input type="button" onClick='$("#num2").show(500);'
value=' Show number 2 slowly'/>
Attachments (0)
Change History (3)
Changed May 19, 2010 08:43PM UTC by comment:1
Changed November 10, 2010 12:52AM UTC by comment:2
priority: | → undecided |
---|---|
resolution: | → worksforme |
status: | new → closed |
Worked for me on IE8, this was probably due to some older issues with incorrect
display:blockvalues that have been fixed.
Changed November 10, 2010 02:02AM UTC by comment:3
Replying to [comment:2 dmethvin]:
Worked for me on IE8, this was probably due to some older issues with incorrectdisplay:blockvalues that have been fixed. http://jsfiddle.net/dmethvin/jKcVq/
I have also encountered such a problem.
see http://jsfiddle.net/dmethvin/jKcVq/ :In IE6, the animation is different from others,but I expect the smae.
This apparently is an IE6 issue (I don't have IE8 available to me here to check)