Skip to content

Commit

Permalink
Merge pull request #94 from PolymerElements/received-focus-from-keybo…
Browse files Browse the repository at this point in the history
…ard-touch

Fix `receivedFocusFromKeyboard` on touch devices.
  • Loading branch information
bicknellr committed Jan 15, 2020
2 parents c74a60d + 167d408 commit 7e5f66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iron-button-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const IronButtonStateImpl = {
}
},

listeners: {down: '_downHandler', up: '_upHandler', tap: '_tapHandler'},
listeners: {down: '_downHandler', mouseup: '_upHandler', tap: '_tapHandler'},

observers:
['_focusChanged(focused)', '_activeChanged(active, ariaActiveAttribute)'],
Expand Down

0 comments on commit 7e5f66c

Please sign in to comment.