From 568a4bb5149cd9fc65077507e8e9cd42a566651d Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 26 Apr 2016 19:31:25 +0200 Subject: [PATCH] possible fix for #8671 use getBoundingClintRect().top to detect stack --- js/foundation.equalizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation.equalizer.js b/js/foundation.equalizer.js index 3c51537d3..f20f279f2 100644 --- a/js/foundation.equalizer.js +++ b/js/foundation.equalizer.js @@ -132,7 +132,7 @@ class Equalizer { * @private */ _isStacked() { - return this.$watched[0].offsetTop !== this.$watched[1].offsetTop; + return this.$watched[0].getBoundingClientRect().top !== this.$watched[1].getBoundingClientRect().top; } /** -- 2.47.2