diff --git a/addons/web/static/src/views/fields/properties/properties_field.js b/addons/web/static/src/views/fields/properties/properties_field.js index 16974e31d00..e24fa581f73 100644 --- a/addons/web/static/src/views/fields/properties/properties_field.js +++ b/addons/web/static/src/views/fields/properties/properties_field.js @@ -154,9 +154,10 @@ export class PropertiesField extends Component { propertiesValues[targetIndex] = propertiesValues[propertyIndex]; propertiesValues[propertyIndex] = prop; propertiesValues[propertyIndex].definition_changed = true; - this.props.update(propertiesValues); - // move the popover once the DOM is updated - this.shouldUpdatePopoverPosition = true; + this.props.update(propertiesValues).then(() => { + // move the popover once the DOM is updated + this.shouldUpdatePopoverPosition = true; + }); } /** @@ -320,6 +321,11 @@ export class PropertiesField extends Component { popover, { position: "top", margin: 10 }, ); + + const arrow = popover.querySelector(".popover-arrow"); + if (arrow) { + arrow.classList.add("d-none"); + } } /**