<How to create "floating", openable/closable butto...
# stackoverflow
r
How to create "floating", openable/closable button-containing Box composable drawn over existing composables? What I'm basically trying to achieve is having a button menu where some of the buttons trigger the showing of an additional menu that contains "sub-buttons". I don't want to use something like the DropdownMenu as I want to order the sub-buttons in a box with a column two-rows wide. I tried consulting ChatGPT and while it offered a working solution with the DropdownMenu, trying to make it in the form mentioned above doesn't seem to work. The buttons that hold data for sub-buttons don't trigger...