-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update list on new spec #27
Conversation
@@ -12,18 +12,30 @@ export default Ember.Component.extend({ | |||
isSelected: Ember.computed.reads('model.isSelected'), | |||
|
|||
onclick: Ember.on('click', function (event) { | |||
if (!Ember.ViewUtils.isSimpleClick(event)) { | |||
if (!Ember.ViewUtils.isSimpleClick(event) && !event.shiftKey && !event.metaKey && !event.ctrlKey) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should already be covered by isSimpleClick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to keep the function running when shiftKey or CtrlKey is pressed even it's not a SimpleClick.
Unless the functionality is required immediately, I'd like to spend an hour cleaning this code up before accepting the PR |
sorry misclicked 'close and comment' :( |
This is a #minor# change
Change behavior for row clicking selection
Feature for shiftKey down selection
Feature for ctrlKey down selection