Opened 11 years ago
Closed 10 years ago
#8449 closed bug (patcheswelcome)
Sortable: Items disappear in IE9 and can cause IE9 to crash
Reported by: | superp | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.sortable | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have ordered listed pictures that is jquery sortable. When i move the 1st picture to 2nd position, it either 1. crashes 2. the 1st 2 pictures disappear and i need to select all to make those picture re-drawn.
http://jsbin.com/alekom/edit#javascript,html
Note this happens only with float: left style and on IE9. To repro this, you may need to move 1st item to 2nd several times.
Change History (3)
comment:1 Changed 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:2 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | jquery sortable with style crash on IE9 → Sortable: Items disappear in IE9 and can cause IE9 to crash |
comment:3 Changed 10 years ago by
Resolution: | → patcheswelcome |
---|---|
Status: | open → closed |
Here's a more reduced test case against master: http://jsfiddle.net/tj_vantoll/Q26Ga/5/.
The bug only occurs when:
1) You are using IE9 (this doesn't occur in IE7, IE8, or IE10).
2) You make an ordered list (<ol>
) into a sortable.
3) You float the list items.
And you can indeed get IE9 to crash under these circumstances. IE9 has some crazy bugs related to ordered lists (see also #8021), and unfortunately there's pretty much nothing we can do about this. Fortunately this is easy to workaround (don't use an ordered list or don't float the list items).
If anyone has a reasonable solution to this we will consider it.
http://jsfiddle.net/petersendidit/qAex3/1/show/