-
Notifications
You must be signed in to change notification settings - Fork 21
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
Ignore non-primary mouse input. #23
Conversation
c2e2b09
to
5e0778d
Compare
_eventSourceIsPrimaryInput: function(event) { | ||
event = event.detail.sourceEvent || event; | ||
|
||
// Always true for non-mouse events.. |
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.
Heh, teensy nit: one trailing dot or three. Two is just weird :)
This lgtm, though that buttons api makes me want to cry. Did I read it right that there's three ways to indicate a click? |
I had a long session of verbalized disbelief therapy with @azakus about this today. TL;DR |
5e0778d
to
4ab92b9
Compare
This looks like something I should maybe handle in gesture directly. Does it ever make sense to get a |
@azakus do you mind if we merge this in the mean time, and then take it out when your patch to gestures lands? |
SGTM |
…tons Ignore non-primary mouse input.
Does this also fix PolymerElements/paper-button#24 (marked as a dupe), or should that issue be reopened? |
Addresses PolymerElements/paper-radio-button#33 and probably others.