app/components/coco/messaging/tooltip/tooltip.js in coveragebook_components-0.17.4 vs app/components/coco/messaging/tooltip/tooltip.js in coveragebook_components-0.17.5
- old
+ new
@@ -4,12 +4,10 @@
export default CocoComponent("tooltip", () => {
return {
init() {
tippy(this.$el, {
theme: "coco-tooltip",
- appendTo: () => {
- return this.$el.firstElementChild;
- },
+ appendTo: () => document.body,
});
},
};
});