Describe the bugDialogs are normally rendered on the center of the screen on Android. On Compose Desktop they are rendered in the center of a Window. However, when used within a ImageComposeScene the dialog is placed on the top left corner of the scene instead.
Describe the bug
Dialog
s are normally rendered on the center of the screen on Android. On Compose Desktop they are rendered in the center of aWindow
. However, when used within aImageComposeScene
the dialog is placed on the top left corner of the scene instead.Composable content:
Using it in a window like this:
renders the following:
However, when used inside of a
ImageComposeScene
using this code:the output image has the dialog on the top left corner like this:
Affected platforms
Versions kotlin = "2.0.0-RC1" compose = "1.6.10"