From 8b0ee094343c724c3a3f68957912736b179f17b9 Mon Sep 17 00:00:00 2001 From: R-Sourabh Date: Tue, 16 Apr 2024 10:19:52 +0530 Subject: [PATCH 1/4] Fixed: infinite scroll issue when used with searchbar(#289) --- src/views/FindFacilities.vue | 1 + src/views/FindGroups.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/views/FindFacilities.vue b/src/views/FindFacilities.vue index 8728b7a6..b762c061 100644 --- a/src/views/FindFacilities.vue +++ b/src/views/FindFacilities.vue @@ -110,6 +110,7 @@ @ionInfinite="loadMoreFacilities($event)" threshold="100px" :disabled="!isScrollable" + :key="query.queryString" > Date: Tue, 16 Apr 2024 14:37:18 +0530 Subject: [PATCH 2/4] Improved: added comment to the ion key change(#289) --- src/views/FindFacilities.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/FindFacilities.vue b/src/views/FindFacilities.vue index b762c061..44a3e75f 100644 --- a/src/views/FindFacilities.vue +++ b/src/views/FindFacilities.vue @@ -105,7 +105,13 @@ - + Date: Wed, 17 Apr 2024 15:59:04 +0530 Subject: [PATCH 3/4] Improved: the logic for fixing infinite scroll(#289) --- src/views/FindFacilities.vue | 34 +++++++++++++++++++++++++--------- src/views/FindGroups.vue | 29 ++++++++++++++++++++++++----- 2 files changed, 49 insertions(+), 14 deletions(-) diff --git a/src/views/FindFacilities.vue b/src/views/FindFacilities.vue index 44a3e75f..779a8c1b 100644 --- a/src/views/FindFacilities.vue +++ b/src/views/FindFacilities.vue @@ -13,7 +13,7 @@ - +