diff --git a/src/dom/dom.js b/src/dom/dom.js index 4dbf088..2bd17ed 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -441,7 +441,8 @@ Element.Methods = { var originalPosition = els.position; var originalDisplay = els.display; els.visibility = 'hidden'; - els.position = 'absolute'; + if (originalPosition != 'fixed') // Switching fixed to absolute causes issues in Safari + els.position = 'absolute'; els.display = 'block'; var originalWidth = element.clientWidth; var originalHeight = element.clientHeight;