Hello, the AlertDialog not supposed to work in Jetpack compose desktop ? ```Box { var isDialog...
e
Hello, the AlertDialog not supposed to work in Jetpack compose desktop ?
Copy code
Box {

    var isDialogVisible = remember { mutableStateOf(false) }

    if (isDialogVisible) {
        AlertDialog(
            onDismissRequest = {
                isDialogVisible.value = false
            },
            title = { Text(text = "Dialog Title") },
            text = { Text(text = "Salut les amis vous allez bien ?") },
            confirmButton = {
                TextButton(
                    onClick = { isDialogVisible.value = false },
                    content = {
                        Text(text = "Oui")
                    }
                )
            },
            dismissButton = {
                TextButton(
                    onClick = { isDialogVisible.value = false },
                    content = {
                        Text(text = "Non")
                    }
                )
            }
        )
    }
}
Every time I try to display a AlertDialog I get this exception
Copy code
Exception in thread "AWT-EventQueue-0" kotlin.NotImplementedError: An operation is not implemented: not implemented
	at androidx.compose.ui.window.DesktopDialogKt.ActualDialog(DesktopDialog.kt:28)
	at androidx.compose.ui.window.DialogKt.Dialog(Dialog.kt:42)
	at androidx.compose.material.AlertDialogKt.AlertDialog-ubiPcs4(AlertDialog.kt:143)
	at androidx.compose.material.AlertDialogKt.AlertDialog-E7Yi3bI(AlertDialog.kt:80)
	at MainKt$main$1.invoke(main.kt:70)
i
We are planning to implement it. For now you can use the workaround described here: https://github.com/JetBrains/compose-jb/issues/81#issuecomment-724556462
e
Thanks