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)
Attachment actions
Unintended behavior
View staffing
Description
Jetpack Compose version: 1.8.0-beta02
Jetpack Compose component used:
graphicsLayer
,material3.Button
withButtonShapes
,derivedStateOf
Android Studio Build: #IU-243.22562.218
Kotlin version: 2.1.10
First of all, I apologize if I selected the issue component incorrectly. There are multiple Compose components used, so I'm not sure what's the actual cause.
Run the following code and press the "Go back" button. Observe the screen flickering. Sometimes it's necessary to rerun the app and try one more time to reproduce the issue. Also see the attached video.
If you check the comments in the code, EITHER removing
movableContentOf
, replacingModifier.graphicsLayer { alpha = ... }
withModifier.alpha(...)
or removing theButton(shapes = ...)
argument fixes the issue.