ChargeMap / Compose-NumberPicker

Jetpack Compose Number Picker
235 stars 33 forks source link

Compose 1.4 and higher causes flicker #20

Open gregnuvo opened 1 year ago

gregnuvo commented 1 year ago

See the resulting flickering behavior when the spinner switches values.

sampleA.webm

To reproduce it, upgrate to latest compose by adding this to your build.gradle.kts. Any version of compose greater than 1.3.3 has the same behavior


    implementation(platform("androidx.compose:compose-bom:2023.05.01"))
    implementation("androidx.compose.ui:ui")
    implementation("androidx.compose.ui:ui-tooling")
    implementation("androidx.compose.foundation:foundation")
    implementation("androidx.compose.material:material")
    implementation("androidx.compose.material:material-icons-core")
    implementation("androidx.compose.material:material-icons-extended")
    implementation("androidx.compose.runtime:runtime-livedata")
    implementation("androidx.activity:activity-compose:1.5.1")
``` `
prologikus commented 10 months ago

i have the same problem