@sdata/web-vue 4.7.0 → 4.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -117,7 +117,8 @@ var ellipsis_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
117
117
|
const nextPadding = `${computedStyle.paddingTop} ${computedStyle.paddingRight} ${computedStyle.paddingBottom} ${computedStyle.paddingLeft}`;
|
|
118
118
|
if (nextHtml !== measurementHtml.value) measurementHtml.value = nextHtml;
|
|
119
119
|
if (nextText !== text.value) text.value = nextText;
|
|
120
|
-
|
|
120
|
+
const paddingBoxWidth = triggerElement.getBoundingClientRect().width - (parseFloat(computedStyle.borderLeftWidth) || 0) - (parseFloat(computedStyle.borderRightWidth) || 0);
|
|
121
|
+
if (paddingBoxWidth !== measurementWidth.value) measurementWidth.value = paddingBoxWidth;
|
|
121
122
|
if (nextPadding !== measurementPadding.value) measurementPadding.value = nextPadding;
|
|
122
123
|
}
|
|
123
124
|
let measurementSettled = false;
|
package/json/web-types.json
CHANGED