Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I enable scrolling while dragging on my target element?
    primarykey
    data
    text
    <p>I've got 2 unsorted lists, floating together. Items from the right list can be dragged to the left list.</p> <pre><code>&lt;ul class="static sortable connected-sortable"&gt; &lt;li class="not-sortable"&gt;Item 1&lt;div class="hint"&gt;Sleep hier uw bestand&lt;/div&gt;&lt;/li&gt; &lt;li class="not-sortable"&gt;Item 2&lt;div class="hint"&gt;Sleep hier uw bestand&lt;/div&gt;&lt;/li&gt; &lt;li class="not-sortable"&gt;Item 3&lt;div class="hint"&gt;Sleep hier uw bestand&lt;/div&gt;&lt;/li&gt; &lt;li class="not-sortable"&gt;Item 4&lt;div class="hint"&gt;Sleep hier uw bestand&lt;/div&gt;&lt;/li&gt; &lt;li class="not-sortable"&gt;Item 5&lt;div class="hint"&gt;Sleep hier uw bestand&lt;/div&gt;&lt;/li&gt; &lt;li class="not-sortable"&gt;Item 6&lt;div class="hint"&gt;Sleep hier uw bestand&lt;/div&gt;&lt;/li&gt; &lt;/ul&gt; &lt;ul class="sortable connected-sortable right"&gt; &lt;li class="sortableRow"&gt;Item sortable 1&lt;/li&gt; &lt;li class="sortableRow"&gt;Item sortable 2&lt;/li&gt; &lt;li class="sortableRow"&gt;Item sortable 3&lt;/li&gt; &lt;li class="sortableRow"&gt;Item sortable 4&lt;/li&gt; &lt;li class="sortableRow"&gt;Item sortable 5&lt;/li&gt; &lt;li class="sortableRow"&gt;Item sortable 6&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>My left list has a scrollbar. </p> <p>When I drag items from my right list to my left list, I want to enable scrolling for this left list. So when I drag near the bottom or top edge of my left list, the scrollbar on the left list goes down or up.</p> <p>The problem is that the scrolling functionality is only enabled for the original list, the list where the item came from, which doesn't have a scrollbar at all at the moment.</p> <p>When dragging, I want the scrolling functionality to be applied to the target list, the one on the left.</p> <p>A fiddle with my code: <a href="http://jsfiddle.net/Y2RJj/42/">http://jsfiddle.net/Y2RJj/42/</a></p> <p>How do I activate scrolling for the left list when I'm dragging an item from right to left?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload