Fixed #3479 - CascadeSelect: "TypeError: Cannot set properties of undefined (setting 'minWidth')" when using appendTo=body

pull/4452/head
Tuğçe Küçükoğlu 2023-08-14 18:04:06 +03:00
parent ffae2d4131
commit 4090ecf803
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ export default {
alignOverlay() {
if (this.appendTo) {
DomHandler.absolutePosition(this.$refs.overlay, this.$el);
this.$refs.le.minWidth = DomHandler.getOuterWidth(this.$el) + 'px';
this.$refs.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + 'px';
} else {
DomHandler.relativePosition(this.$refs.overlay, this.$el);
}