| Index: third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-extracted.js
|
| index 4423a426ed9730e2c3b5b4d54c8f695b1fc79a0b..ee5d0ff52a46a743aac42611fa789d3086be5c95 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-extracted.js
|
| @@ -98,6 +98,17 @@
|
| },
|
|
|
| /**
|
| + * 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.
|
| * @type {?Object}
|
| @@ -217,7 +228,10 @@
|
| * 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');
|
|
|