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

A way to know which components are pre-selected #29

Open
andrefox333 opened this issue Oct 11, 2016 · 1 comment
Open

A way to know which components are pre-selected #29

andrefox333 opened this issue Oct 11, 2016 · 1 comment

Comments

@andrefox333
Copy link

Question, is there an event or a way to know which components are being pre-selected during the drag and select process?

@andrefox333 andrefox333 changed the title Color during dragging and hovering A way to know which components are pre-selected Oct 11, 2016
@unclecheese
Copy link
Owner

You mean like the way desktop apps work, where the items take on a new UI state as the box is being defined? No, because I assume it's a massive performance hit, however, it may be a really easy change.

If you're keen to have a play with it, I think all you'd have to do is add this.selectElements(e) (as seen in the _mouseup function) to the _openSelector function.

Have a play with that, and see how it works for you. If it ends up working out without any major tradeoffs, I'd welcome a PR that permitted that behaviour as a prop on the group.

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