Frontend: Workaround for tap bug in paper-dialog
This commit is contained in:
parent
6c1a309c40
commit
ca373b5aa5
3 changed files with 9 additions and 13 deletions
|
@ -1,2 +1,2 @@
|
|||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||
VERSION = "e53215fa1416dbbc7819452b4f38689c"
|
||||
VERSION = "1cc966bcef26a859d053bd5c46769a99"
|
||||
|
|
|
@ -22375,15 +22375,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
},
|
||||
|
||||
listeners: {
|
||||
'tap': 'cardTapped',
|
||||
// listening for click instead of tap as a work around
|
||||
// https://github.com/PolymerElements/iron-overlay-behavior/issues/14
|
||||
'click': 'cardTapped',
|
||||
},
|
||||
|
||||
cardTapped: function() {
|
||||
// Debounce wrapper added as workaround for bug
|
||||
// https://github.com/PolymerElements/iron-overlay-behavior/issues/14
|
||||
this.debounce('show-more-info-dialog', function() {
|
||||
uiActions.showMoreInfoDialog(this.stateObj.entityId);
|
||||
}, 1);
|
||||
},
|
||||
});
|
||||
})();
|
||||
|
|
|
@ -37,15 +37,13 @@
|
|||
},
|
||||
|
||||
listeners: {
|
||||
'tap': 'cardTapped',
|
||||
// listening for click instead of tap as a work around
|
||||
// https://github.com/PolymerElements/iron-overlay-behavior/issues/14
|
||||
'click': 'cardTapped',
|
||||
},
|
||||
|
||||
cardTapped: function() {
|
||||
// Debounce wrapper added as workaround for bug
|
||||
// https://github.com/PolymerElements/iron-overlay-behavior/issues/14
|
||||
this.debounce('show-more-info-dialog', function() {
|
||||
uiActions.showMoreInfoDialog(this.stateObj.entityId);
|
||||
}, 1);
|
||||
},
|
||||
});
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue