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

FR: Scope the selection container to only allow drag select #96

Open
tehkyle opened this issue Feb 28, 2020 · 3 comments
Open

FR: Scope the selection container to only allow drag select #96

tehkyle opened this issue Feb 28, 2020 · 3 comments

Comments

@tehkyle
Copy link

tehkyle commented Feb 28, 2020

I would like to use this directive to add drag-selection features, but I have my own custom shortcut+click logic already in place. I'd like either a configuration to only allow drag selecting or an event output parameter that indicates which type of selection action is returning the array of items.

@d3lm
Copy link
Owner

d3lm commented Mar 1, 2020

Hey there! Thanks for reaching out. Have you looked at the selectWithShortcut option? Check this part of the readme. Essentially it will disable click selection and only allows to select items via shortcut. Is that what you need?

@tehkyle
Copy link
Author

tehkyle commented Mar 2, 2020

Thank you for your response. Unfortunately that option also won't work for us as our custom click logic uses some of the same shortcut keys in different ways.

@d3lm
Copy link
Owner

d3lm commented Mar 3, 2020

Can you post a StackBlitz that reproduces the shortcut situation?

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

No branches or pull requests

2 participants