title: JQuery Dragging Outside Parent
body: <p>I'm using JQuery's draggable(); to make li elements draggable. The only problem is when the element is dragged outside its parent, it doesn't show up. That is, it doesn't leave the confines of its parent div. An example is here: <a href="https://imgur.com/N2N1L.png" rel="noreferrer">http://imgur.com/N2N1L.png</a> - it's as if the z-index for everything else has greater priority (and the element slides under everything).</p>
  
  <p>Here's the code:</p>
  
  <pre><code>$('.photoList li').draggable({ 
          distance: 20,
          snap: theVoteBar,
          revert: true,
          containment: 'document'
      });
  </code></pre>
  
  <p>And the li elements are placed in DIVs like this:</p>
  
  <pre><code>&lt;div class="coda-slider preload" id="coda-slider-1"&gt;
      &lt;div class="panel"&gt;
          &lt;div class="panel-wrapper"&gt;
              &lt;h2 class="title" style="display:none;"&gt;Page 1&lt;/h2&gt;
              &lt;ul class="photoList"&gt;
                  &lt;li&gt;
                      &lt;img class="ui-widget-content" src="photos/1.jpg" style="width:100px;height:100px;" /&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>I'm positive the problem is it won't leave its parent container, but I'm not sure what to do to get it out.</p>
  
  <p>Any direction or help would be appreciated GREATLY!</p>