Description
Prerequisites
- 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
I would like the refresher to have an ionEnd
event.
I need to know when the refresher has returned to the inactive state to do some jiggery-pokery with my backgrounds. But watching the refresher progress isn’t good enough because hitting zero doesn’t necessarily mean the user has completed the pull gesture. So, I need to know both when the user is no longer touching the screen AND when the refresher is ready to be pulled again.
I'll have a PR to look at shortly.
Describe the Use Case
I have a background that bleeds from the header to the content (it looks like one continuous image before you scroll). When I scroll the content up, the bg that's in the content should scroll up under the header along with the content.
But when I pull down to refresh, I don't want the background in the content to separate from the header and leave a gap. I just want the content to move down.
I have a few solutions for this. One of them involves having two bgs in different places and swapping their visibility based on when the user is interacting with the refresher.
Watching the progress doesn't quite work, while having an ionEnd
event should.
Describe Preferred Solution
No response
Describe Alternatives
No response
Related Code
The issue can be seen in the "BG Swap" page of this Ionic application.
https://github.com/WhatsThatItsPat/pull-to-refresh-with-bg
Additional Information
No response