Skip to main content

Search and Top Navigation

#8018 closed bug (notabug)

Opened January 16, 2012 09:59AM UTC

Closed January 16, 2012 01:05PM UTC

Last modified January 16, 2012 01:47PM UTC

It has long been seen by a bug. But it's still not fixed

Reported by: neoniks Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.draggable Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:
Description

There is a design

<script> 
	$( ".column" ).sortable({
            connectWith: ".column" ,
            containment:'.ppg',
            cursor: 'crosshair',
            revert: true,
            forceHelperSize: true,
            dropOnEmpty: true
        });
        $("#modmenu div.column_blok").draggable({
            connectToSortable:".column",
            helper: "clone",
            revert:true,
            dropOnEmpty: true,
            cursor:'point',
            appendTo: "body"
        });
        $( ".column" ).disableSelection();
</script>


<div id="modmenu">
	<div class="column_blok">text<div>
	<div class="column_blok">text<div>
	<div class="column_blok">text<div>
</div>

<div id="t1" class="column">
<table border="1" width="100%">
	<tr>
		<td width="50%"><div id="t2" class="column"><div></td>
		<td width="50%"><div id="t3" class="column"><div></td>
	</tr>
</table>
<div>

If you drag the div, from #modmenu in #t1 then everything is fine.

But if you then try to move the element moved from #t1 to #t3 for example. Then there is the problem! it is very difficult because the script is trying to shove movable div, and #t1 and #t3.

and during the most difficult to get into drag and drop #t3

Attachments (0)
Change History (3)

Changed January 16, 2012 01:00PM UTC by scottgonzalez comment:1

#8019 is a duplicate of this ticket.

Changed January 16, 2012 01:05PM UTC by scottgonzalez comment:2

resolution: → invalid
status: newclosed

It's kind of hard to tell what's going on in this example, but it helps a lot when you have valid HTML. Almost every single div is missing a closing tag. The title of this ticket provides no information, and the description is very hard to follow. Please fix your HTML and if you continue to have problems, file a new ticket with a more in-depth explanation of the actual and expected behavior and link to a reduced test case, as mentioned in the big red box.

Changed January 16, 2012 01:47PM UTC by neoniks comment:3

well. give a working example of a new ticket