Opened 8 years ago

Closed 8 years ago

#9444 closed bug (notabug)

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...

Change History (1)

comment:1 Changed 8 years ago by Scott González

Resolution: notabug
Status: newclosed

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

Note: See TracTickets for help on using tickets.