spierce7
06/07/2021, 4:21 AMDropdownMenu
widget. I see internal widgets like DropdownMenuContent
and DropdownMenuPositionProvider
, but not the actual DropdownMenu
. Am I doing something wrong, or has this been removed from Desktop?Vadim Kapustin
06/07/2021, 6:59 AMIgor Demin
06/07/2021, 10:41 AMDropdownMenu
is not accessible in commonMain
, you can use it only inside desktopMain
or androidMain
.
If you want to use it in commonMain
, you can write your own expect/actual.uli
06/07/2021, 2:37 PMIgor Demin
06/07/2021, 3:08 PMDifferent signatures?Yes, the Android popup has a slightly different signature (it has PopupProperties). One of the solutions - we can define a common function with the common signature.
uli
06/07/2021, 3:11 PMspierce7
06/07/2021, 4:50 PMIgor Demin
06/07/2021, 4:51 PMspierce7
06/07/2021, 4:52 PMIgor Demin
06/07/2021, 4:57 PMcompose-jb
github as there should be changes not only in commonMain, but in desktopMain toospierce7
06/07/2021, 7:35 PMMichael Paus
02/12/2022, 1:22 PM