https://kotlinlang.org logo
Title
l

Landry Norris

03/01/2023, 3:08 PM
Is there anything preventing AlertDialog in desktop from getting ported to iOS? It looks like it could be moved over minus the AWT key event.
s

spierce7

03/01/2023, 3:14 PM
we need something in the common layer for all the platforms. I'm surprised we don't have that yet.
l

Landry Norris

03/01/2023, 3:21 PM
Same with Popup and DropdownMenu. I always just create an expect/actual. When compose-jb was first created, there were substantial differences in Popup signature, but that’s been better since 1.2 or something.
m

Mitchell Syer

03/01/2023, 4:46 PM
I had to make my own implementation of iOS dialogs for my Material Dialogs library, feel free to use the library or the implementation https://github.com/Syer10/compose-material-dialogs
n

Nikita Lipsky

03/01/2023, 8:13 PM
We plan to add dialogs for iOS, indeed
l

Louis

05/18/2023, 12:38 PM
any news on dialogs for ios?
n

Nikita Lipsky

05/18/2023, 2:07 PM
Unfortunately, no. We are working on other tasks now but keeping in mind dialogs. Currently workarounds are possible like here: https://kotlinlang.slack.com/archives/C0346LWVBJ4/p1683625631211959?thread_ts=1683623953.773629&cid=C0346LWVBJ4