vue-select icon indicating copy to clipboard operation
vue-select copied to clipboard

infinite scroll

Open xkiller838 opened this issue 1 year ago • 6 comments

the infinite scroll does not work in the version of vue 3

xkiller838 avatar Jul 13 '23 22:07 xkiller838

@xkiller838 Hi, try npm install vue3-select. If it doesn't work, create an issue for me here. If I have some free time, I'll be able to handle it

howard-tzw avatar Jul 17 '23 12:07 howard-tzw

I already tried to install again and use the infinite scroll using vue script setup in vue 3 and it doesn't work for me, it loads the 6 thousand complete values ​​and I looked at the implementation and examples in detail and nothing works neither in option nor in script setup

xkiller838 avatar Jul 21 '23 23:07 xkiller838

@xkiller838 I followed the code in the document and tried it out. It feels like there are no issues. You can refer to the implementation below

  • demo: https://vue3-select.vercel.app/infinite-scroll
  • code: https://github.com/howard-tzw/vue3-select/blob/main/demo/src/views/InfiniteScroll.vue

howard-tzw avatar Jul 24 '23 02:07 howard-tzw

Thank you very much I am going to compare what I have wrong with the code that you show me it is strange I see it the same as mine but I am going to compare it anyway sorry for the inconvenience and thanks for answering me so quickly

xkiller838 avatar Jul 26 '23 20:07 xkiller838

There is problem when infinite scroll usage with AJAX. If loading property always false, then everything work good, but if use loading (true before start ajax and false after finish), then inifinite scroll work after close and reopen list.

vjik avatar Apr 08 '24 10:04 vjik

@vjik I got same issue :@@

sonnguyenxaion avatar Aug 23 '24 07:08 sonnguyenxaion