From: Kevin Ball Date: Wed, 5 Jul 2017 22:04:37 +0000 (-0700) Subject: Merge pull request #9881 from dwt47/develop X-Git-Tag: v6.4.2-rc1~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=793a2547f2a64f5313d0eb448cdf738afd9c1285;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Merge pull request #9881 from dwt47/develop Fix bug on Orbit resize during transition --- diff --git a/js/foundation.orbit.js b/js/foundation.orbit.js index b26d0bd75..38b837904 100644 --- a/js/foundation.orbit.js +++ b/js/foundation.orbit.js @@ -149,7 +149,7 @@ class Orbit extends Plugin { temp = this.getBoundingClientRect().height; $(this).attr('data-slide', counter); - if (_this.$slides.filter('.is-active')[0] !== _this.$slides.eq(counter)[0]) {//if not the active slide, set css position and display property + if (!/mui/g.test($(this)[0].className) && _this.$slides.filter('.is-active')[0] !== _this.$slides.eq(counter)[0]) {//if not the active slide, set css position and display property $(this).css({'position': 'relative', 'display': 'none'}); } max = temp > max ? temp : max;