Side navigation
#2006 closed bug (wontfix)
Opened December 04, 2007 11:32PM UTC
Closed March 14, 2008 03:56PM UTC
dragged sortables aren't brought to top
Reported by: | guy.fraser | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.2 |
Component: | ui | Version: | 1.2.1 |
Keywords: | sortables | Cc: | rdworth@gmail.com |
Blocked by: | Blocking: |
Description
When dragging sortable items between two panels, the sortables are appearing below the panels - eg. you can see them going below the blue dashed border when dragging from non-members panel to community members panel:
Attachments (0)
Change History (2)
Changed March 12, 2008 11:45PM UTC by comment:1
Changed March 14, 2008 03:56PM UTC by comment:2
resolution: | → wontfix |
---|---|
status: | new → closed |
There is a appendTo option for that - it allows for attaching the cloned element to anywhere else in the DOM, so it overlays - you can also most often set the zIndex.
I've just run into this myself. The problem is from line 68 of ui.sortable.js. In order to calculate the correct offset, the sortable element has its position set to relative. Then when dragging a child element, it gets hidden underneath the other list you're trying to drag it to. The problem is only noticeable when the background or border is set to something other than transparent.