Skip to content

设置了 finishDelayMillis 后,footer 会出现内容先消失,但是高度还存在的情况 #38

@shortybin

Description

@shortybin

因为 loadMoreEnabled 开始为 true,变成 false 后 footer 内容会先隐藏了。但是 finishDelayMillis 后延迟 footer 的消失。

看代码应该是这块的问题

Box(
                    modifier = Modifier
                        .align(Alignment.BottomCenter)
                        .graphicsLayer {
                            translationY = obtainFooterOffset(state, footerScrollMode, footerHeight)
                        }
                        .zIndex(obtainZIndex(footerScrollMode))
                ) {
                    //loadMoreEnabled 变成 false,内容先消失了
                    if (loadMoreEnabled) {
                        footerIndicator(state)
                    }
                }
Screen_recording_20250828_184234.video-converter.com.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions