chrisbanes / haze

Background blurring for Compose Multiplatform / Jetpack Compose
https://chrisbanes.github.io/haze/
Apache License 2.0
1.19k stars 31 forks source link

Importing haze library crashes on runtime when m3 CircularProgressIndicator starts spinning #120

Closed damianvisser closed 9 months ago

damianvisser commented 9 months ago

Information

Actual Behavior

When adding the haze dependency (without using it anywhere) and running my app with a CircularProgressIndicator being shown it crashes. After removing the dependency it doesn't crash. Tested it multiple times and same result.

Steps to Reproduce the Problem

java.lang.NoSuchMethodError: No virtual method at(Ljava/lang/Object;I) Landroidx/compose/animation/core/KeyframesSpec$KeyframeEntity; in class Landroidx/compose/animation/core/KeyframesSpec$KeyframesSpecConfig; or its super classes (declaration of 'androidx.compose.animation.core.KeyframesSpec$KeyframesSpecConfig' appears in /data/app/~~i_o5gVWscTtLwqcpHsHQ4Q==/ at androidx.compose.material3.ProgressIndicatorKt$CircularProgressIndicator$endAngle$1.invoke(ProgressIndicator.kt:371) at androidx.compose.material3.ProgressIndicatorKt$CircularProgressIndicator$endAngle$1.invoke(ProgressIndicator.kt:369)

chrisbanes commented 9 months ago

Upstream bug: https://github.com/JetBrains/compose-multiplatform/issues/4157

Nothing we can do about this really. The bug linked has a workaround which does work.