Skip to main content

Search and Top Navigation

#7904 closed bug (wontfix)

Opened November 21, 2011 03:17PM UTC

Closed April 17, 2017 07:31PM UTC

Sortable: Cursor is not reset after sorting in IE9

Reported by: peter.morlion Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description

I'm not entirely sure if this is a bug in jQuery UI or in Internet Explorer, but this is the issue:

If you want to indicate to a user that something is sortable, the

cursor
option isn't sufficient. This is only active when sorting. So you could indicate something is sortable by adding
cursor: move;
to your css. This works in Chrome (and probably other browsers), but not in IE.

In Internet Explorer, it works as long as you don't sort. After you've sorted, the cursor won't change back to

auto
, unless you click somewhere.

I've put this in a JsFiddle. In the JsFiddle, I've used jQuery 1.4.4 because that's what we use, but it's the same with jQuery 1.7. The jQuery UI version is 1.8.7.

Attachments (0)
Change History (8)

Changed November 28, 2011 07:55PM UTC by Bung comment:1

I can confirm this bug in IE9. I happen to be using compatibility view as well. I have tried adding a click() call, see below, in both the stop and update event, all it manages to do is reset the cursor, but then a second click is required to get things sortable again.

stop: function(e,ui){

$('handleSelector', ui.item).click();

},

As well as the same click() line in the update event, also tried clicking on parent()s.

Changed October 11, 2012 02:55PM UTC by scottgonzalez comment:2

milestone: 1.9.02.0.0

Changed November 05, 2012 12:09AM UTC by petersendidit comment:3

status: newopen
summary: Cursor is not reset after sorting in IESortable: Cursor is not reset after sorting in IE

Changed November 08, 2012 03:30AM UTC by tj.vantoll comment:4

#8347 is a duplicate of this ticket.

Changed November 08, 2012 03:31AM UTC by tj.vantoll comment:5

http://jsfiddle.net/jeremyfrank/7VSn3/ is another test case for this issue (from #8347).

Changed November 08, 2012 03:34AM UTC by tj.vantoll comment:6

summary: Sortable: Cursor is not reset after sorting in IESortable: Cursor is not reset after sorting in IE9

The test cases work fine in IE8 and IE10. This appears to be limited to IE9.

Changed December 24, 2012 06:47PM UTC by tj.vantoll comment:7

Here's a minified test case showing the issue still occurs in master - http://jsfiddle.net/tj_vantoll/R8Fwd/. Interestingly the issue is not present using the cursor option (i.e.

$( '#sortable').sortable({ cursor: 'move' })
but it is if
cursor: move;
is defined in CSS.

Changed April 17, 2017 07:31PM UTC by scottgonzalez comment:8

resolution: → wontfix
status: openclosed

We no longer support IE9.