ionic-framework
ionic-framework copied to clipboard
bug: collapsible large title should snap between expanded and collapsed when released in between states
Bug Report
Ionic version:
[ ] 4.x [x] 5.x
Current behavior:
Currently, the ios large (collapse) header is able to be between the two states when releasing the pointer via scroll. It then looks like:

Expected behavior:
As far as i see, native it switches either to the expanded or collapsed state, determined by how far the transition was done when releasing.
Thanks for the issue! This issue has been labeled as holiday triage. With the winter holidays quickly approaching, much of the Ionic Team will soon be taking time off. During this time, issue triaging and PR review will be delayed until the team begins to return. After this period, we will work to ensure that all new issues are properly triaged and that new PRs are reviewed.
In the meantime, please read our Winter Holiday Triage Guide for information on how to ensure that your issue is triaged correctly.
Thank you!
Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.
Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.
For a guide on how to create a good reproduction, see our Contributing Guide.
Github Repo: https://github.com/EinfachHans/ionic-collapsable-header
Just the starter Repo with a List to make the content scrollable. Here an image of how it can look after releasing the finger:
This issue has been labeled as help wanted. This label is added to issues that we believe would be good for contributors.
If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort.
For a guide on how to create a pull request and test this project locally to see your changes, see our contributing documentation.
Thank you!
I made a first attempt to this feature. https://github.com/ionic-team/ionic-framework/pull/22737