Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic vue virtual scroll #17887

Closed
randytarampi opened this issue Mar 26, 2019 · 9 comments
Closed

ionic vue virtual scroll #17887

randytarampi opened this issue Mar 26, 2019 · 9 comments
Assignees
Labels
package: vue @ionic/vue package type: feature request a new feature, enhancement, or improvement

Comments

@randytarampi
Copy link

Feature Request

It's not so much a feature request as just a question. I can see that it's supported in @ionic/react and it seems like it just hasn't been gotten to on the Vue side.

Context here is that I'm trying to sell some folks at work on using Ionic+Vue at the moment, but it seems like loading large lists of images is the last stumbling block for our technical demonstrator.

Thanks for reading!

Ionic version:
[x] 4.x

Describe the Feature Request
An ion-virtual-scroll Vue component, per the above.

Describe Preferred Solution
It magically appears in @ionic/vue@0.0.3

Describe Alternatives
I could roll my own solution but if it's as simple as what I think the React port is doing and just passing things along, I figured that I'd ask.

Related Code
N/A

Additional Context
No related code, but the good folks behind @modus/ionic-vue in ModusCreateOrg/ionic-vue#85, pointed me in this direction.

@ionitron-bot ionitron-bot bot added the triage label Mar 26, 2019
@liamdebeasi liamdebeasi added type: feature request a new feature, enhancement, or improvement package: vue @ionic/vue package labels Mar 27, 2019
@mhartington mhartington self-assigned this Mar 29, 2019
@Livijn
Copy link

Livijn commented Aug 15, 2019

@randytarampi Did you make any progress on this?

I've tried using vue-virtual-scroll-list and vue-virtual-scroller with no luck.

@liamdebeasi
Copy link
Contributor

Hey everyone,

Our current plan is to recommend solutions built and maintained by the Vue community. We are evaluating vue-virutal-scroller and vue-virtual-scroll-list as potential solutions, but neither have shipped support for Vue 3 yet.

I am going to keep this issue open for now, but will close it out when clearer guidance has been put out on our docs. Thanks!

@liamdebeasi liamdebeasi changed the title Any plans to support ion-virtual-scroll for Vue? ionic vue virtual scroll Oct 8, 2020
@JacobFJ
Copy link

JacobFJ commented Nov 28, 2020

It seems it doesn't supported yet by both alternatives, any plans to use this built in ionic virtual scroll for vue3? @liamdebeasi

@liamdebeasi
Copy link
Contributor

We do not have plans to use our own custom virtual scroll solution for Ionic Vue. I need to do more research into https://github.com/tangbc/vue-virtual-scroll-list to see what parts of Vue 3 it does not support yet.

@TomDeSmet
Copy link

TomDeSmet commented Jan 20, 2021

This one is working: https://www.npmjs.com/package/vue3-virtual-scroller

UPDATE
After using it a bit, I decided against using it further. It looked and felt good in the browser, but after compiling to iOS with Capacitor, it looked and behaved kind of strange. I combined kit with sliding-items and those didn't work properly.
Decided to use the infinite-scroll for now. Not ideal, but as I load all my data once and cache it, it's fast enough and it behaves much smoother.

@florian72810
Copy link

vue-virtual-scroller has now support for Vue3 (478)

Docs for Vue3 here

@liamdebeasi
Copy link
Contributor

Hi everyone,

We are working on documentation to show how to get your Ionic Vue app setup with packages such as vue-virtual-scroller: ionic-team/ionic-docs#1943

One thing to note is that certain components (like ion-refresher and the collapsible large title) are not currently compatible with virtual scrolling solutions due to their reliance on scrolling on ion-content. I created #23437 which will track progress on improving compatibility with these components.

We are wrapping up the new docs now, so I plan on closing this issue out once those docs ship. Thanks!

@liamdebeasi
Copy link
Contributor

Hi everyone,

We added a Virtual Scroll guide to the Framework v6 docs on how to get setup with a virtual scrolling solution in Ionic Vue: https://beta.ionicframework.com/docs/vue/virtual-scroll

While these are the v6 docs, you should be able to get setup with virtual scrolling in your v5 application (We are shipping the docs for v6 since ion-virtual-scroll will be deprecated then).

I am going to close this issue out since virtual scrolling in Ionic Vue has been documented. Thanks!

@ionitron-bot
Copy link

ionitron-bot bot commented Jul 28, 2021

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: vue @ionic/vue package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

No branches or pull requests

7 participants