compose-collapsing-toolbar
compose-collapsing-toolbar copied to clipboard
FEATURE - Toolbar scrollable
By default, CollapsingToolbar is not scrollable. In order to enable it, set toolbarScrollable = true in CollapsingToolbarScaffold.
Preview:

By the way, who wants to use this feature, I created a separated remote dependency, while this PR is under review:
Add it in your root build.gradle at the end of repositories:
all projects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.GIGAMOLE:ComposeCollapsingToolbar:latest-version'
}
Or you can simply download it from there:
https://github.com/GIGAMOLE/ComposeCollapsingToolbar/releases
Fixed the issue with forced verticalScroll() container clipping:

TODO:
Currently, there is no toolbar scroll limitation for each scroll type. After the merge of the Snapping Feature: https://github.com/onebone/compose-collapsing-toolbar/pull/83, it will be possible to track whether the offset or toolbar is scrolling to handle properly the toolbar scroll for each scroll strategy.
I also need this change. Hopefully this gets merged asap.