diff --git a/addon/components/paper-autocomplete-dropdown.js b/addon/components/paper-autocomplete-dropdown.js index 5c1e9aff9..fc9303214 100644 --- a/addon/components/paper-autocomplete-dropdown.js +++ b/addon/components/paper-autocomplete-dropdown.js @@ -84,9 +84,9 @@ export default BasicDropdown.extend({ } return offset; } - let style = { top: `${dropdownTop}px`, left: `${dropdownLeft}px` }; + let style = { top: dropdownTop, left: dropdownLeft }; if (matchTriggerWidth) { - style.width = `${dropdownWidth}px`; + style.width = dropdownWidth; } this.applyReposition(trigger, dropdown, { horizontalPosition, verticalPosition, style }); } diff --git a/addon/components/paper-menu.js b/addon/components/paper-menu.js index d3c9acb53..20beb3cc5 100644 --- a/addon/components/paper-menu.js +++ b/addon/components/paper-menu.js @@ -153,8 +153,8 @@ export default BasicDropdownComponent.extend({ let scaleY = Math.round(100 * Math.min(originNodeRect.height / containerNode.offsetHeight, 1.0)) / 100; let style = { - top: `${dropdownTop}px`, - left: `${dropdownLeft}px`, + top: dropdownTop, + left: dropdownLeft, // Animate a scale out if we aren't just repositioning transform: !this.didAnimateScale ? `scale(${scaleX}, ${scaleY})` : undefined, transformOrigin diff --git a/addon/components/paper-select-menu.js b/addon/components/paper-select-menu.js index f8b27d4a8..1ed863628 100644 --- a/addon/components/paper-select-menu.js +++ b/addon/components/paper-select-menu.js @@ -149,8 +149,8 @@ export default PaperMenu.extend({ let scaleX = Math.min(targetRect.width / selectMenuRect.width, 1.0); let scaleY = Math.min(targetRect.height / selectMenuRect.height, 1.0); let style = { - top: `${dropdownTop}px`, - left: `${dropdownLeft}px`, + top: dropdownTop, + left: dropdownLeft, // Animate a scale out if we aren't just repositioning transform: !this.didAnimateScale ? `scale(${scaleX}, ${scaleY})` : undefined, transformOrigin diff --git a/package.json b/package.json index f6290669b..876d3e784 100644 --- a/package.json +++ b/package.json @@ -59,12 +59,12 @@ "broccoli-filter": "^1.2.3", "broccoli-funnel": "^1.0.1", "broccoli-merge-trees": "^1.1.0", - "ember-basic-dropdown": "^0.16.0", + "ember-basic-dropdown": "^0.17.1", "ember-cli-babel": "^5.1.7", - "ember-composability-tools": "0.0.5", + "ember-composability-tools": "0.0.6", "ember-css-transitions": "0.1.8", - "ember-power-select": "1.0.0-beta.23", - "ember-wormhole": "0.4.1", + "ember-power-select": "1.0.0", + "ember-wormhole": "0.5.1", "resolve": "^1.1.7", "virtual-each": "0.3.1" },