diff --git a/src/core/update/updateAutoHeight.js b/src/core/update/updateAutoHeight.js index 998baa1de..cdd3588d0 100644 --- a/src/core/update/updateAutoHeight.js +++ b/src/core/update/updateAutoHeight.js @@ -44,5 +44,5 @@ export default function updateAutoHeight(speed) { } // Update Height - if (newHeight) swiper.$wrapperEl.css('height', `${newHeight}px`); + if (newHeight || newHeight === 0) swiper.$wrapperEl.css('height', `${newHeight}px`); }