diff --git a/src/core/directives/swipe-navigation.ts b/src/core/directives/swipe-navigation.ts index 081a7a85f..ee2f6c6a1 100644 --- a/src/core/directives/swipe-navigation.ts +++ b/src/core/directives/swipe-navigation.ts @@ -86,7 +86,7 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy { const items = source.getItems() ?? []; - if (items.length < 2) { + if (!this.enabled || items.length < 2) { return; }