Closed ebidel closed 8 years ago
keyEventTarget
is a Polymer property and should be overridden in the properties
block, e.g.
properties: {
keyEventTarget: {
type: Object,
value: function() {
return document.body;
}
}
}
If I am mis-understanding the issue being reported, please feel free to re-open!
For an element that uses this behavior, setting
keyEventTarget
on the element's prototype gets overwritten by the behavior tothis
(the element).My workaround was to set this in
ready
: