Fixed teleport

pull/1088/head
Cagatay Civici 2021-04-16 13:04:45 +03:00
parent c170d3ab7c
commit a3a2f7a361
1 changed files with 6 additions and 6 deletions

View File

@ -559,12 +559,6 @@ export default {
originalEvent: event, originalEvent: event,
target: this.$el target: this.$el
}); });
},
appendDisabled() {
return this.appendTo === 'self' || this.inline;
},
appendTarget() {
return this.appendDisabled ? null : this.appendTo;
} }
}, },
computed: { computed: {
@ -576,6 +570,12 @@ export default {
}, },
pickerClass() { pickerClass() {
return ['p-colorpicker-panel', this.panelClass, {'p-colorpicker-overlay-panel': !this.inline, 'p-disabled': this.disabled}]; 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;
} }
} }
} }