multiselect-combo-box
Advanced tools
Comparing version 2.5.0-alpha.3 to 2.5.0-beta
@@ -15,3 +15,3 @@ { | ||
"name": "multiselect-combo-box", | ||
"version": "2.5.0-alpha.3", | ||
"version": "2.5.0-beta", | ||
"main": "multiselect-combo-box.js", | ||
@@ -18,0 +18,0 @@ "directories": { |
@@ -311,3 +311,4 @@ import {PolymerElement} from '@polymer/polymer/polymer-element.js'; | ||
'_selectedItemsObserver(selectedItems, selectedItems.*)', | ||
'_templateOrRendererChanged(_itemTemplate, renderer)' | ||
'_templateOrRendererChanged(_itemTemplate, renderer)', | ||
'__observeOffsetHeight(errorMessage, invalid, label)' | ||
]; | ||
@@ -339,4 +340,3 @@ } | ||
// notifies component dimensions have changed | ||
setTimeout(() => this._notifyResize(), 0); | ||
setTimeout(() => this._notifyResizeIfNeeded(), 0); | ||
} | ||
@@ -349,2 +349,6 @@ | ||
__observeOffsetHeight() { | ||
this._notifyResizeIfNeeded(); | ||
} | ||
_dispatchChangeEvent() { | ||
@@ -512,12 +516,8 @@ this.dispatchEvent(new CustomEvent('change', {bubbles: true})); | ||
_notifyResize() { | ||
if (this.width !== this.offsetWidth || this.height !== this.offsetHeight) { | ||
if (this.width && this.height) { | ||
this.notifyResize(); | ||
this.dispatchEvent(new CustomEvent('iron-resize', {bubbles: true})); | ||
} | ||
this.width = this.offsetWidth; | ||
this.height = this.offsetHeight; | ||
_notifyResizeIfNeeded() { | ||
if (this.__previousHeight !== undefined && this.__previousHeight !== this.offsetHeight) { | ||
this.notifyResize(); // allows the items drop-down to reposition itself if needed | ||
this.dispatchEvent(new CustomEvent('iron-resize', {bubbles: true})); // allows i.e. vaadin-grid to resize itself | ||
} | ||
this.__previousHeight = this.offsetHeight; | ||
} | ||
@@ -524,0 +524,0 @@ } |
@@ -108,2 +108,3 @@ import '@vaadin/vaadin-lumo-styles/font-icons.js'; | ||
background-color: transparent !important; | ||
box-shadow: none; | ||
} | ||
@@ -110,0 +111,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
57209
1152