Skip to main content

Search and Top Navigation

#2305 closed bug (fixed)

Opened February 08, 2008 11:08AM UTC

Closed March 14, 2008 03:45PM UTC

Last modified February 26, 2009 11:26AM UTC

svn draggable: containment fails if grid set

Reported by: tm Owned by: paul
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.2
Keywords: svn draggable containment grid Cc:
Blocked by: Blocking:
Description

The following code illustrates the bug:

<div style="position:absolute;top:50px;left:100px;width:210px;height:210px;background:#aaa">
<div id="test" style="position:absolute;left:0px;top:0px;width:40px;height:40px;background:#eee"></div>
</div>
<script type="text/javascript">
	$('#test').draggable({containment:'parent', grid:[40,40]});
</script>

Note that placing grid plugin(in draggable.ext.js) before containment plugin is not correct solution, because then grid can be lost.

Attachments (0)
Change History (4)

Changed March 05, 2008 01:15PM UTC by paul comment:1

need: ReviewCommit
status: newassigned

This can only be solved by implementing a kind of priority stack. I will see what I can do, but it'll take some time.

Changed March 14, 2008 03:45PM UTC by paul comment:2

resolution: → fixed
status: assignedclosed

Changed May 24, 2008 03:39AM UTC by comment:3

milestone: 1.2.3

Milestone 1.2.3 deleted

Changed February 26, 2009 11:26AM UTC by paul comment:4

milestone: → 1.5