From 6e9861e787d016239df2f73ddf18bea42704db07 Mon Sep 17 00:00:00 2001 From: "Rafael H.F.S" Date: Wed, 19 Aug 2020 17:55:59 -0300 Subject: [PATCH] docs: update guide for infiniteScroll.vue (#1236) change the display condition of ther loader from v-if to v-show. When used with v-if and if returns false, the element will not be rendered and the observer stops working. With v-show, the element will exists but won't be visible and the observer will still work. --- docs/.vuepress/components/InfiniteScroll.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/components/InfiniteScroll.vue b/docs/.vuepress/components/InfiniteScroll.vue index 8bd85dc..8683b15 100644 --- a/docs/.vuepress/components/InfiniteScroll.vue +++ b/docs/.vuepress/components/InfiniteScroll.vue @@ -6,8 +6,8 @@ @close="onClose" @search="query => search = query" > -