vue-select
vue-select copied to clipboard
infinite scroll
the infinite scroll does not work in the version of vue 3
@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
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 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
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
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 I got same issue :@@