Skip to content
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

fix(lib): start selection inbetween select items #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PhOder
Copy link

@PhOder PhOder commented Nov 28, 2022

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 SelectItems are not direct children of the SelectContainer.

Fixes #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
@PhOder
Copy link
Author

PhOder commented Nov 29, 2022

Hi @d3lm thank you for this great library! :)

As this is my first PR in Github I'm sure there's going to be a couple of things I should fix. So please just let me know if you've got any feedback 👍

@d3lm
Copy link
Owner

d3lm commented Nov 29, 2022

Thanks! And also thanks for your PR, really appreciate it. I ll have a look at your PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[selectOnClick]="false" option prevents initiating a drag box between items
3 participants