Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Jetpack Compose version: Compose Material 3 1.4.0-alpha01
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: CircularWavyProgressIndicator
Kotlin version:2.1.0-RC
I have a use case where CircularWavyProgressIndicator is put inside a resizable container and when that container's size is zero or when resizing one of the height or width values of the CircularWavyProgressIndicator to zero, it crashes. Im using requiredSizeIn(minWidth = 0.5.dp, minHeight = 0.5.dp) as a workaround but the problem with this is that the component draws as it if it had more size than 0.5dp and that looks weird. What i would expect is the size to reduce until zero (width or height) is reached when resizing (just like every other components in all of compose's libraries, its the only component to use required and throw error). Idk maybe when size.minDimension == 0, dont draw anything.
Stack trace:
require(size.minDimension > 0f) { "Size min dimension should be greater than zero" } this makes reaching height or width 0 crash