Hi.

I have a similar issue with ui-sortable in IE8. The sorting process just 
stops sometimes. This happens more often when the mouse-movement is very 
fast. I looked a bit into the ui-code and figured that the _mouseUp 
function is called from the _mouseMove function in line 463 of 
ui.core.js in jquery-ui-1.7.2. Somehow the event.button property is 0 at 
that point. This is very curious as it should be 1 with the mouse button 
still down.
My html and css is rather complex with a lot positioning going on. It 
may be related to that, but there is no area of the page that will 
always lead to an early abort of the sorting, it just happens sometimes. 
So I still don't know, what exactly may cause this problem.
At the moment, I don't have the time to put together a sample page, but 
I will in a few days.

Greetings, Tobias


Richard D. Worth schrieb:
> There's not much we can do without a reproduction. I think you're left 
> with either adding things to your demo application until the issue 
> presents, or continue removing things from your real application until 
> the issue disappears.
>
> Are you using the original as the helper? helper: 'clone'? a custom 
> helper function?
>
> How are you getting access to the helper inside the over event 
> callback? And what change are you making to the html?
>
> The easiest way to answer these questions (and more that may come up) 
> is share a live sample page. If you don't have a place to host one, 
> use jsbin.com <http://jsbin.com>:
>
> http://jsbin.com/
>
> A few things you might try:
>
> * make sure you've got a valid doctype so you're in standards mode.
>
> * use the cursorAt option, such that the mouse is not directly over 
> the helper.
>
> * bind mousedown, mouseup, mousemove, and click events to the original 
> element, the helper, the droppable, and the document and log the heck 
> out of them. See which are triggered, and in which order, when you 
> modify the html of the helper.
>
> - Richard
>
> On Wed, Dec 9, 2009 at 11:20 AM, asafdav2 <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     hey
>     i'm facing the following problem:
>     i have a draggable object. i'm setting some other object to be a
>     droppable for it, and in the 'over' event i'm changing the helper
>     html. in ie8 this causes the drop event to fire (doesnt happen in ff3
>     or ie7). i'm not entirely sure this is the cause, because i tried to
>     reproduce it in a demo application and couldn't, however in my real
>     application i stripped down the droppable options to minimum
>     (basically just left the line that changes the html in the over event)
>     and looks like this is the source of the problem.
>     any ideas ?
>
>     --
>
>     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]
>     <mailto:[email protected]>.
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:jquery-ui%[email protected]>.
>     For more options, visit this group at
>     http://groups.google.com/group/jquery-ui?hl=en.
>
>
>
> --
>
> 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.

--

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.


Reply via email to