Skip to main content

Search and Top Navigation

#9444 closed bug (notabug)

Opened July 22, 2013 02:21PM UTC

Closed July 22, 2013 02:34PM UTC

Sortable weird behavior under IE9 in case of error during start event

Reported by: wasp Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

Maybe this is borderline, but I still think it's worth notifying. I prepared a fiddle: http://jsfiddle.net/cVpen/

If you execute the fiddle in IE9 and you start dragging any element, you will see 'white space' added below the element you are moving, and that's because of div elements appended each time a mouse motion is detected. The more you drag the element, the more space you add. If you comment out the ''console.log'' line inside the start callback, things go back working fine.

It is clear that the problem is that ''console'' is not defined unless you don't open the developer tools, and therefore the specific problem can (and should) be fixed differently, but the consequent behavior looks pretty weird (instead of repeatedly creating placeholders, wouldn't it be better doing nothing at all?) and maybe worth of some handling to avoid it. Or maybe not...

Attachments (0)
Change History (1)

Changed July 22, 2013 02:34PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

If you have broken code, then things might break...