diff --git a/dashboard-ui/bower_components/iron-dropdown/.bower.json b/dashboard-ui/bower_components/iron-dropdown/.bower.json index a267bed64e..3e3c7dec79 100644 --- a/dashboard-ui/bower_components/iron-dropdown/.bower.json +++ b/dashboard-ui/bower_components/iron-dropdown/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-dropdown", - "version": "1.0.5", + "version": "1.0.6", "description": "", "authors": [ "The Polymer Authors" @@ -35,11 +35,11 @@ "web-component-tester": "*", "iron-image": "polymerelements/iron-image#^1.0.0" }, - "_release": "1.0.5", + "_release": "1.0.6", "_resolution": { "type": "version", - "tag": "v1.0.5", - "commit": "9c300a14a5aeca1c02f085e9117521af814ce640" + "tag": "v1.0.6", + "commit": "9b52ccb37577b0e4b3d34f3795117d95648b39ff" }, "_source": "git://github.com/polymerelements/iron-dropdown.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-dropdown/bower.json b/dashboard-ui/bower_components/iron-dropdown/bower.json index c80ae15038..3ff762f62e 100644 --- a/dashboard-ui/bower_components/iron-dropdown/bower.json +++ b/dashboard-ui/bower_components/iron-dropdown/bower.json @@ -1,6 +1,6 @@ { "name": "iron-dropdown", - "version": "1.0.5", + "version": "1.0.6", "description": "", "authors": [ "The Polymer Authors" diff --git a/dashboard-ui/bower_components/iron-dropdown/iron-dropdown.html b/dashboard-ui/bower_components/iron-dropdown/iron-dropdown.html index b3d4314d41..0320f43749 100644 --- a/dashboard-ui/bower_components/iron-dropdown/iron-dropdown.html +++ b/dashboard-ui/bower_components/iron-dropdown/iron-dropdown.html @@ -162,6 +162,17 @@ method is called on the element. value: false }, + /** + * By default, the dropdown will constrain scrolling on the page + * to itself when opened. + * Set to true in order to prevent scroll from being constrained + * to the dropdown when it opens. + */ + allowOutsideScroll: { + type: Boolean, + value: false + }, + /** * We memoize the positionTarget bounding rectangle so that we can * limit the number of times it is queried per resize / relayout. @@ -282,7 +293,10 @@ method is called on the element. * Overridden from `IronOverlayBehavior`. */ _renderOpened: function() { - Polymer.IronDropdownScrollManager.pushScrollLock(this); + if (!this.allowOutsideScroll) { + Polymer.IronDropdownScrollManager.pushScrollLock(this); + } + if (!this.noAnimations && this.animationConfig && this.animationConfig.open) { this.$.contentWrapper.classList.add('animating'); this.playAnimation('open'); diff --git a/dashboard-ui/bower_components/iron-dropdown/test/iron-dropdown.html b/dashboard-ui/bower_components/iron-dropdown/test/iron-dropdown.html index 6da742f8ff..b8fcdb77e5 100644 --- a/dashboard-ui/bower_components/iron-dropdown/test/iron-dropdown.html +++ b/dashboard-ui/bower_components/iron-dropdown/test/iron-dropdown.html @@ -33,6 +33,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN + + + +