diff --git a/src/core/defaults.js b/src/core/defaults.js index fef22115a..695f46592 100644 --- a/src/core/defaults.js +++ b/src/core/defaults.js @@ -57,7 +57,7 @@ export default { centerInsufficientSlides: false, // Disable swiper and hide navigation when container not overflow - watchOverflow: false, + watchOverflow: true, // Round length roundLengths: false, diff --git a/src/types/swiper-options.d.ts b/src/types/swiper-options.d.ts index 8d62aa43e..cf82b63ef 100644 --- a/src/types/swiper-options.d.ts +++ b/src/types/swiper-options.d.ts @@ -192,7 +192,7 @@ export interface SwiperOptions { * When enabled Swiper will be disabled and hide navigation buttons on * case there are not enough slides for sliding. * - * @default false + * @default true */ watchOverflow?: boolean;