vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

It is not behaving as in the demo

Open AllanOricil opened this issue 4 years ago • 3 comments
trafficstars

This is my Component

image

computedSObjectFields is an Array of Objects

and this is the container with a pre defined Height

image

And this is the result

demo

AllanOricil avatar Sep 05 '21 21:09 AllanOricil

same, I've got the same result :(

yuxuanAbot avatar Apr 07 '22 02:04 yuxuanAbot

I'm having the same issue. The update event doesn't seem to fire when scrolling the page. Not sure why.

ih84ds avatar Apr 28 '22 16:04 ih84ds

I had a similar issue and after some time, turns out I forgot to import the library's css

import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'

After doing so, it works. Not sure if it's the same case for y'all but maybe so 🤷

kayijyc avatar Jul 15 '22 08:07 kayijyc

Finally figured out how to solve the issue after putting it off for quite some time. For me, the issue was related to using the Ionic framework and specifically the way ion-content handles scrolling. The solution was to wrap the entire ion-content like this <ion-content><div class="ion-content-scroll-host">{{ actual_content_goes_here }}</div></ion-content> and then set it up so the scrolling happens on that element instead.

.ion-content-scroll-host {
  position: relative;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
  overflow-y: auto;
}

After doing that, Page Mode works seamlessly with no need to have multiple scrollable areas on the page!

ih84ds avatar Jan 13 '23 20:01 ih84ds