-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[selectOnClick]="false" option prevents initiating a drag box between items #144
Comments
Hey there! Thanks for reporting this issue. Please provide a reproduction link using StackBlitz. |
No worries, here you go: https://stackblitz.com/edit/ngx-drag-to-select-5xjaaj?file=src%2Fapp%2Fapp.component.html Just something I noticed while looking at the solution as a potential option to a problem I'm solving. A screenshot from your live demo - https://d3lm.github.io/ngx-drag-to-select/ |
Ah yes, I see. This seems to be a bug indeed. |
@gavinharriss did you happen to find a workaround for this? In my specific case, when you select a group, you should be able to drag that selected group to a different position. When |
@GRX sorry, I never found a fix for the issue. |
This commit fixes the issue of not being able to start a selection if mousedown occured on neither Host element nor select item element but inbetween. The issue occurs if `SelectItem`s are not direct children of the `SelectContainer`. Fixes d3lm#144
This commit fixes the issue of not being able to start a selection if mousedown occured on neither Host element nor select item element but inbetween. The issue occurs if `SelectItem`s are not direct children of the `SelectContainer`. Fixes d3lm#144
If you take the README.md https://stackblitz.com/edit/ngx-drag-to-select?file=app%2Fpages%2Fhome%2Fhome.component.html link and add the
[selectOnClick]="false"
you'll find that the drag box can no longer be initiated from between card items. It's only possible to initiate a selection from thedts-select-container
borders.The text was updated successfully, but these errors were encountered: