d3lm / ngx-drag-to-select

A lightweight, fast, configurable and reactive drag-to-select component for Angular 10 and beyond
https://www.npmjs.com/package/ngx-drag-to-select
MIT License
293 stars 65 forks source link

Selected more items with shift key #87

Closed LolBruflex closed 5 years ago

LolBruflex commented 5 years ago

Hello and congratulations for this wonderful app! a question, is it possible to select several consecutive elements, selecting the first one, keeping the shift key pressed, and clicking on a subsequent element? like the classic selection of multiple files on the window with the shift key!

thanks

d3lm commented 5 years ago

Hey there! Thanks, glad you like it. This feature is not yet supported but was already requested in #62. We have to figure out which key we can reuse of if this is a mode you have to enable, because shift is already used for adding items to the current selection. I am open to discuss this and implement this feature. I think it's very useful and it seems people want this.

I am closing this one because it's a duplicate of #62. Let's move this discussion over to the existing issue.