https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
m

Marcin Wisniowski

03/06/2024, 7:03 PM
Is it expected behavior or a bug that
Popup()
with
dismissOnClickOutside = true
only dismisses on left clicks? Right clicks not dismissing it means that you can open multiple context menus as subsequent right clicks don't close the previous ones.
i

Ivan Matkov

03/06/2024, 7:17 PM
Expected
If you want to block everything below
Popup
- you can make it
focusable
m

Marcin Wisniowski

03/06/2024, 7:45 PM
I see. I solved this by adding a flag shared by all context menus so that opening any will close any already open one.
2 Views