update components
This commit is contained in:
parent
ff79304dee
commit
2ff0f16136
11 changed files with 99 additions and 68 deletions
|
@ -339,6 +339,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
var overlay = /** @type {?} */ (this.currentOverlay());
|
||||
// Check if clicked outside of top overlay.
|
||||
if (overlay && this._overlayInPath(Polymer.dom(event).path) !== overlay) {
|
||||
if (overlay.withBackdrop) {
|
||||
// There's no need to stop the propagation as the backdrop element
|
||||
// already got this mousedown/touchstart event. Calling preventDefault
|
||||
// on this event ensures that click/tap won't be triggered at all.
|
||||
event.preventDefault();
|
||||
}
|
||||
overlay._onCaptureClick(event);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue