oumoussa98 / vue3-infinite-loading

Infinite scroll component compatible with vuejs-3 and vitejs
https://vue3-infinite-loading.netlify.app/
191 stars 31 forks source link

not scroll active firstLoad when f5 browser. you can add original trigger function make it better. #22

Closed hoanghiep1x0 closed 2 years ago

hoanghiep1x0 commented 2 years ago

i found it working fine but lack of trigger function from call first scroll example setup. each time: the router's id changes. This is a reset component issue. Similar is an Identity problem. using Identity but not working in my case. When reloading the component with f5 from the browser, it doesn't automatically fire the component with firstLoad. So I need a trigger call from watch route.params.slug=> refetchData.

Like triggering infinite scroll loading from setup with watch(()=> route.params.slug,Active-Scroll-Loading).

I have this piece of code but f5 it doesn't run firstLoad.

`

`

oumoussa98 commented 2 years ago

I am unable to reproduce this If you manage to find a repro case, we would gladly reopen this issue.