diff --git a/service.js b/service.js index 9a6d4ba..ae3e7a6 100644 --- a/service.js +++ b/service.js @@ -879,6 +879,7 @@ class BesService { this.disableMutationObserver() const styles = window.getComputedStyle(this.hostElement) const hostRect = this.hostElement.getBoundingClientRect() + // Sync margins one by one. Firefox is not happy when syncing all at once. this.correctionPanel.style.marginLeft = styles.marginLeft this.correctionPanel.style.marginTop = styles.marginTop this.correctionPanel.style.marginRight = styles.marginRight