Add note about compatibility issue

This commit is contained in:
Simon Rozman 2025-02-27 15:22:01 +01:00
parent b41068196e
commit f88b2fd1a0

View File

@ -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