You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After debugging for hours why my image isn't loading, I found the problem. Using the matchParentSize() modifier on the AsynImage composable causes the image to never load.
Tried it on Android and the JVM target, both have the same problem.
To Reproduce
Small JVM snippet:
application {
Window(::exitApplication) {
Box {
AsyncImage(
model ="any image url",
contentDescription =null,
modifier =Modifier.matchParentSize(), //if you comment out this line, everything works
onState = ::println
)
}
}
}
Logs/Screenshots
If this modifier is there, only the Loading state gets printed.
Version
3.0.0-alpha06
The text was updated successfully, but these errors were encountered:
Describe the bug
After debugging for hours why my image isn't loading, I found the problem. Using the
matchParentSize()
modifier on theAsynImage
composable causes the image to never load.Tried it on Android and the JVM target, both have the same problem.
To Reproduce
Small JVM snippet:
Logs/Screenshots
If this modifier is there, only the
Loading
state gets printed.Version
3.0.0-alpha06
The text was updated successfully, but these errors were encountered: