diff --git a/frappe/public/js/frappe/form/controls/attach_image.js b/frappe/public/js/frappe/form/controls/attach_image.js index 21c17f9754..1fd548f493 100644 --- a/frappe/public/js/frappe/form/controls/attach_image.js +++ b/frappe/public/js/frappe/form/controls/attach_image.js @@ -3,9 +3,10 @@ frappe.ui.form.ControlAttachImage = class ControlAttachImage extends frappe.ui.f super.make_input(); let $file_link = this.$value.find(".attached-file-link"); + // Changing placement from top to bottom to avoid flickering. Fix with better solution $file_link.popover({ trigger: "hover", - placement: "top", + placement: "bottom", content: () => { return `