From a3a2f7a361917ced43dadee97ac0a3139cf273dd Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 16 Apr 2021 13:04:45 +0300 Subject: [PATCH] Fixed teleport --- src/components/colorpicker/ColorPicker.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/colorpicker/ColorPicker.vue b/src/components/colorpicker/ColorPicker.vue index ef44cbc90..5e2be2f84 100755 --- a/src/components/colorpicker/ColorPicker.vue +++ b/src/components/colorpicker/ColorPicker.vue @@ -559,12 +559,6 @@ export default { originalEvent: event, target: this.$el }); - }, - appendDisabled() { - return this.appendTo === 'self' || this.inline; - }, - appendTarget() { - return this.appendDisabled ? null : this.appendTo; } }, computed: { @@ -576,6 +570,12 @@ export default { }, pickerClass() { return ['p-colorpicker-panel', this.panelClass, {'p-colorpicker-overlay-panel': !this.inline, 'p-disabled': this.disabled}]; + }, + appendDisabled() { + return this.appendTo === 'self' || this.inline; + }, + appendTarget() { + return this.appendDisabled ? null : this.appendTo; } } }