feat: improve component compatibility with virtual scrolling solutions
See original GitHub issueFeature Request
Ionic version:
[x] 5.x
Describe the Feature Request
At the moment, components such as ion-refresher
, ion-infinite-scroll
, and the collapsible large title rely on users scrolling on ion-content
. As a result, when scrolling in a virtual scroll container, these components do not work as expected. While we cannot account for every single virtual scrolling solution, I think we can expose an API that lets users have more control over which scrollable container these components listen on.
This impacts solutions like CDK Scroller, Virtuoso, vue-virtual-scroller, etc.
For developers that would like to see this feature added to the Framework, please react to this post with a thumbsup/“+1” reaction. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:41
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Ionic 6.1: Improved Virtual Scroll Compatibility
Ionic Framework 6.1 improves built-in feature compatibility for features such as fade header/footers, infinite scroll and item reordering with ...
Read more >4 Ways to Listen to Page Scrolling for Dynamic UI in Angular ft ...
Some ideas based on window scrolling. Animations/Transitions; UI component — Scrolled percentage/reading progress, relative to total available ...
Read more >Virtual scrolling: Core principles and basic implementation in ...
In this tutorial, we'll go over the basics and learn how to create a reusable React component to solve the simplest virtual scrolling...
Read more >Building infinite virtual scrolling lists with the new Angular 7 CDK
Build infinite virtual scrolling lists using the Angular 7 CDK. This tutorial will introduce you to the Angular Component Development Kit, ...
Read more >VMware Compatibility Guide - System Search
VMware FT creates virtual machine 'pairs' that run in lock step - mirroring the execution state of a VM. Support of VMware FT...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be great if you could also validate that ion-reorder works with these alternative scrollers. It is currently broken when used with ion-virtual-scroll but the bug reporting this was closed “because virtual-scroll will be deprecated”.
Hi everyone,
@sean-perkins has done a tremendous job adding new functionality to improve Ionic component compatibility with virtual scrolling solutions via https://github.com/ionic-team/ionic-framework/commit/2a438da010ddd4d4211e1879e27d7b28409daaa2. The code for this has been merged, and we are looking to ship this new feature in an upcoming minor release of Ionic.
When this feature ships, expect to see new documentation that will show you how to update your apps for this new compatibility. We have a work in progress PR with the new docs changes: https://github.com/ionic-team/ionic-docs/pull/2229
I am going to close this. Thanks!