From e2b70f604795e94db3d80e52133c03783502323c Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 17 Mar 2022 16:22:52 +0100 Subject: [PATCH] MOBILE-3153 core: Fix swipe tour in tablets --- src/core/directives/swipe-navigation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }