Open ZacSweers opened 8 months ago
I've seen this before. It might be because you're using the window. Could you try using an inner Composable function instead? However, this may not be what you're looking for.
Can you clarify what you mean by "inner composable function"?
The inner composable function
refers to taking a screenshot of the Composable function's content inside a dialog. However, I understand that this may not be what you, as the creator of a dialog display library, are looking for. When I tried it before, it was challenging to capture content from outside a Window on Desktop, so this issue might not be resolved quickly. It might be addressed as soon as a way is found to capture images per window or to effectively combine them per window.
Repro: https://github.com/slackhq/circuit/pull/1121
Version:
1.9.0-alpha-4
File:
circuitx/overlays/src/jvmTest/kotlin/com/slack/circuitx/overlays/OverlaySnapshotTests.kt
Trace: