mfuu / vue3-virtual-drag-list

A virtual scrolling list component that can be sorted by dragging, for vue3
https://mfuu.github.io/vue-virtual-drag-list/
MIT License
37 stars 9 forks source link

can't be used in vue3,Am I using it the wrong way? #2

Closed Coderhyp closed 1 year ago

Coderhyp commented 1 year ago
image
mfuu commented 1 year ago

Sorry for the late reply. Can you provide specific error information?

Coderhyp commented 1 year ago

Sorry for the late reply. Can you provide specific error information?

Can you provide a vue3 demo ? I run this code ,if my scrollbar appear,my chrome crush and items cant be dragged,I tried to combine sortablejs and vue3-virtual-scroll-list,but there're too many bugs, can you help to use your virtual list in vue3? It'll be helpful, thanks alot

mfuu commented 1 year ago

@Coderhyp You can try to give the size attribute value and check if it's normal. It's probably the error caused by this prop, and I'll fix it as soon as possible.

Coderhyp commented 1 year ago

@Coderhyp You can try to give the size attribute value and check if it's normal. It's probably the error caused by this prop, and I'll fix it as soon as possible.

I find the bug yestoday,If i dont set the size ,the component will Infinite loop 😭 thanks for your component