On 13 Mai, 16:54, Asim <[email protected]> wrote: > Using jQuery UI 1.7.1 (on WinXp with IE7) > > I've been trying to get a Draggable div to be dragged outside the > window viewport in IE7, > as it can be in the following browsers: > Chrome 1.0.154.48, Opera 9.63, Firefox 3.0.8, Safari 4beta. > > In IE7 the drag gets stopped prior to the div leaving the viewport. > > Try in > jquery-ui-1.7.1/demos/draggable/default.html > > dragging the Draggable left, out of the window in IE7 and then in > one of the other browsers listed above. > > Can this be fixed?
I needed to fix that behavior as well and found out that preventing the default action for the selectstart event causes this. Not preventing that event allows for mouseup outside a window/iframe, although another quirk is at play then: text inside a draggable may become selected when starting to drag. Depending on what kind of item is being dragged it may or may not be an issue. The selectstart event is prevented in ui.core.js, in the disableSelection method, thus look for it in your code... --Klaus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
