DragSelect icon indicating copy to clipboard operation
DragSelect copied to clipboard

An easy JavaScript library for selecting and moving elements. With no dependencies. Drag-Select & Drag-And-Drop. – Examples:

Results 14 DragSelect issues
Sort by recently updated
recently updated
newest added

how can I use custom image when dragging like : ```js el.addEventListener('dragstart', function (e) { const img = image_element; e.dataTransfer.setDragImage(img, 0, 15); e.dataTransfer.effectAllowed = 'all'; e.dataTransfer.dropEffect = 'copy'; e.dataTransfer.setData('data', 'test');...

I used npm to install DragSelect,but I found this function is not work as unexpected. Until I debug and found this,then I fixed it,maybe this is my first pull request...

Drag select libaray 2.3.1 not capturing multiple items with angular 9 version **Describe the bug** When user drag mouse on multiple words, It does not capture any word. **Expected behavior**...

Hi, thanks for this great library. I'm now preparing to use DragSelect for implementing [Google Blockly](https://github.com/google/blockly)'s [multiselection project](https://summerofcode.withgoogle.com/programs/2022/projects/9wF06HWE). However, DragSelect can't work on Blockly as of now, Google Blockly uses...

I would like to set a min distance before it actually starts the selecting rectangle

**Description** I'm trying to make a grid of 238*238 divs, and I want them to be selectable. But it only works for the starting divs and lags alot in the...

enhancement
help wanted

I would like to use DragSelect only for *selecting* elements (no free movement). Then, I want to drag and drop them to another place (think of files being dragged into...

help wanted
not an issue
feature request

**Describe the bug** In v2, all ds-selector areas have been moved into the main body node, and we're keeping states for multiple specific dragSelect areas to hide & show the...

enhancement
help wanted
feature request

**Describe the bug** I have a updating list container, when I scroll down, this list will updating data. If I select with dragging, and I drag to edge of bottom,...

Hi, @ThibaultJanBeyer I want to change zoom after created dragSelect. how can do it? ![image](https://user-images.githubusercontent.com/47884397/134311493-d0a5554f-8d55-4eae-8ece-535e27052984.png) Thanks

feature request