PullRefreshIndicator circle always displaying on jetpack compose

31 Views Asked by At

A blank grey circle of PullToRefreshContainer is always displaying even first time or after refreshing.

Here is my code

val pullRefreshState = rememberPullToRefreshState()

Box(
    modifier = Modifier
        .fillMaxSize()
        .nestedScroll(connection = pullRefreshState.nestedScrollConnection)
) {
    // Another contents

    PullToRefreshContainer(
        modifier = Modifier.align(alignment = Alignment.TopCenter),
        state = pullRefreshState,
    )
}

Current compose version: 1.6.4

enter image description here

Any help!

0

There are 0 best solutions below