Skip to content

When I slide the content, collapsingToolbarState.toolbarState.progress does not change.  #108

@springeye

Description

@springeye

When I slide the content, collapsingToolbarState.toolbarState.progress does not change. Other functions and UI effects are all normal

    val collapsingToolbarState = rememberCollapsingToolbarScaffoldState()
    val progress = collapsingToolbarState.toolbarState.progress
    CollapsingToolbarScaffold(
        state = collapsingToolbarState,
        toolbar = {

            //when scroll content repeatedly,the logger print 3 times(1.0,0.0,0.0)
            Logger.d("collapsableProgress: $progress")


            MotionLayout(
                modifier = Modifier.fillMaxWidth(),
                motionScene = motionScene,
                progress = progress,
            ) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions