Search and Top Navigation
#8449 closed bug (patcheswelcome)
Opened July 20, 2012 05:27AM UTC
Closed March 12, 2013 01:40AM UTC
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.
Attachments (0)
Change History (3)
Changed October 11, 2012 02:56PM UTC by comment:1
milestone: | 1.9.0 → 2.0.0 |
---|
Changed November 03, 2012 09:47PM UTC by comment:2
status: | new → open |
---|---|
summary: | jquery sortable with style crash on IE9 → Sortable: Items disappear in IE9 and can cause IE9 to crash |
Changed March 12, 2013 01:40AM UTC by comment:3
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.