How to properly close a `Dialog` ? I have this log...
# compose-desktop
x
How to properly close a
Dialog
? I have this logic on a close button inside the Dialog composition
onClick = { }
but when I click it the following exception comes up:
Copy code
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Anchor refers to a group that was removed
Also tried to mutate a
toggleDialog
variable to "hide" the dialog but the same problem occurs
o
x
done