Hi Tobias, that's weird. Could you explain what you did to cause the mouseUp, or is it random / directly after grabbing it?
The check in question prevents "stickiness" of the draggable when you grab the draggable, drag it out of the window, and then (while holding the mouse button pressed), dragging in again. Internet Explorer usually stops the event flow when being in an Area it can't drag, as opposed to Firefox for instance, where the mouse coordinates are negative when you drag out of the viewport. Though 0 as property seems to be an IE8 bug, it's possible that they fixed the outside event propagation issue, so maybe that check isn't needed anymore. Can you check if that's the case? Thanks, Paul On Mon, Aug 3, 2009 at 9:39 AM, tobirius <[email protected]> wrote: > > Hi List, > > I'm experiencing problems with IE8 and ui.sortable. The sorting stops > even though the mouse-button is still pressed. I've looked through the > code and think this is caused in the _mouseMove function of ui.mouse. > > // IE mouseup check - mouseup happened when mouse was out of window > if ($.browser.msie && !event.button) { > return this._mouseUp(event); > } > > In this part, the button property of the mousemove-event in IE8 is 0, > even though the mouse-button is still pressed, and the _mouseUp > function is triggered. > > I would consider this as a bug in IE8, but what can you do? > > Has anybody an idea for a workaround? > > Tobias > > > -- Paul Bakaus UI Architect @ smart.fm -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
