vue-virtual-drag-list icon indicating copy to clipboard operation
vue-virtual-drag-list copied to clipboard

Possibility to use body as a scroll container?

Open ispal opened this issue 1 year ago • 5 comments

Hi,

First of all thanks a lot for your work on this library. It might be something I need to test if it works for my usecase. I have one question in mind. Does it support body scrolling and if not would it be something you would consider to support in the future? Here's a demo from another library that does virtual list.

Page mode virtual list

ispal avatar May 22 '23 19:05 ispal

Is this in consideration?

ispal avatar Jun 21 '23 10:06 ispal

Sorry to reply so late, please update to the latest version and use the pageMode option to support this issue.

mfuu avatar Jul 05 '23 03:07 mfuu

Ok, super cool. I have to test it when I'm back from holiday.👍

ispal avatar Jul 05 '23 20:07 ispal

I had some time to test it and seems to work in simple case. 👍 I created a codesandbox where I have 2 lists and both are using pageMode. The second list is not rendering properly and there are lots of whitespace in the second list. The scrollbar also jumps in the middle. Here's a repro: https://codesandbox.io/s/vue-virtual-drag-list-ndl62w

Please let me know if it's not properly configured.

ispal avatar Jul 17 '23 13:07 ispal

@ispal sorry for late reply. please update to the latest version to solve the problem. and use the 'scroller' instead

mfuu avatar Dec 22 '23 14:12 mfuu