Skip to content

Commit

Permalink
feat(core): watchOverflow is now enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 11, 2021
1 parent 91f2f2f commit b97286f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/types/swiper-options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b97286f

Please sign in to comment.