https://kotlinlang.org logo
Title
d

Dirk Hoffmann

01/28/2021, 4:53 PM
what is the eventual way to display a popup "panel" under/beside an arbitrary @Composable. There once was a DropdownPopup but it was removed as I read. is there a "current" solution to do an arbitrary Popup directly beside a @Composable ?
k

Kirill Grouchnikov

01/28/2021, 5:07 PM
Do you want it to fit in the window bounds, or do you want it to go outside of the window bounds?
d

Dirk Hoffmann

01/28/2021, 5:08 PM
inside window bounds
k

Kirill Grouchnikov

01/28/2021, 5:13 PM
Popup
composable is still there
d

Dirk Hoffmann

01/28/2021, 5:14 PM
you happen to have a pointer to some example code?
d

Dirk Hoffmann

01/28/2021, 6:46 PM
just out of curiosity on you first question in this thread here: is there a popup, that can be placed outside the window???
k

Kirill Grouchnikov

01/28/2021, 6:52 PM
In the desktop world you would use a combination of
JWindow
and
ComposePanel
d

Dirk Hoffmann

01/28/2021, 6:53 PM
ah, going down the swing road
k

Kirill Grouchnikov

01/28/2021, 6:59 PM
Same in Android - popup is expected/actual with
AndroidPopup
using the platform's APIs (window manager, etc)