feat(refresher): use refresher in custom scroll content
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
ion-refresher
should be attachable to custom scroll content, so it can be triggered independend of ion-content
Describe the Use Case
I have an application with segments. Depending on which segment is selected, a corresponding scrollable element should be displayed in ion-content
, so that the scroll positions of scroll areas are maintained when the segment is changed.
Currently when ion-refresher is next child of ion-content
, the custom scroll-area get sometimes stuck if you scroll too fast.
Also sometimes the ion-refresher
circle freezes and get stuck on screen.
This behavior can only be reproduces on native build (testet on ios)
Describe Preferred Solution
ion-refresher
is attachable to custom scroll content
Describe Alternatives
No response
Related Code
https://stackblitz.com/edit/angular-3cg7gs
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Ionic 2 ion-refresher with scroll content
I have scroll content with big data list and refresher on the top but when i scroll up the refresher run. I want...
Read more >how to use ion-refresher inside a custom component
I try to add ion-refresher to a custom component. <ion-refresher (ionRefresh)="refreshList($event)"> <ion-refresher-content> ...
Read more >ion-refresher background color - You.com | The search engine you ...
So say you want to use $refresher-icon-color: red; in your app you can call this variable in theme/variable.scss which will override the default...
Read more >Visual Studio Code Crash Course - YouTube
Visual Studio Code (VS Code) is a free code editor made by Microsoft. In this course you will learn how to use this...
Read more >4 Ways to Listen to Page Scrolling for Dynamic UI in Angular ft ...
For instance, using window scrolling, you can dynamically render ... You'll notice content that is hidden out of view, which appears with ...
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
With your code sample you’ll lose the scroll position of cats and dogs (they have now the same scroll position). My intention was to preserve the scroll position for each.
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.