Fixed #3479 - CascadeSelect: "TypeError: Cannot set properties of undefined (setting 'minWidth')" when using appendTo=body
parent
ffae2d4131
commit
4090ecf803
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue