This sounds like an issue with the particular HTML and CSS you're
using. Can you strip you code down to a minimal example that
demonstrates the problem (including the JavaScript that creates the
sortable) and post it to the list?

There's a "forcePlaceholderSize" option that you can pass in the
options object when creating the sortable. That may be what you want.
Try setting it to true.

If that doesn't do quite what you want, you can style your placeholder
exactly however you want by using the CSS class that you pass as the
placeholder option.

Cheers,
Tim Moore

On Jan 31, 1:57 am, "[email protected]" <[email protected]>
wrote:
> Hi, im currently working with the sortable functionalities in jQuery,
> an has stumbled upon an issue that i can't find a solution to. When
> you are dragging a sortable item, and has a placeholder, this
> placeholder does not take the same size as the item you are dragging.
> The odd thing is that when there is no placeholder, the space between
> items, that you drag another item in between, will have the right
> size, but not with a placeholder added.
> I have tried in different ways to call the item that i am dragging, to
> get the height of it, so i can apply it to the placeholder. I havent
> had any luck, though. Can you help me with this issue? I figure other
> people would like this feature as well.
>
> Regards, Frej - No Zebra, Denmark

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