Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing compose functions in material3 #2037

Closed
Thomas-Vos opened this issue Apr 24, 2022 · 10 comments · Fixed by JetBrains/compose-multiplatform-core#787
Closed

Missing compose functions in material3 #2037

Thomas-Vos opened this issue Apr 24, 2022 · 10 comments · Fixed by JetBrains/compose-multiplatform-core#787

Comments

@Thomas-Vos
Copy link
Contributor

The following functions seem to not have been added yet in material3 for desktop, but are available for Android. It would be great if they could be added so I do not have to copy the material3 source code into my project, and keep that up to date.

  • androidx.compose.material3.AlertDialog
  • androidx.compose.material3.DropdownMenu
  • androidx.compose.material3.DropdownMenuItem
  • androidx.compose.material3.ExposedDropdownMenuBox
@Thomas-Vos
Copy link
Contributor Author

For exposed dropdown menus I found this issue: https://issuetracker.google.com/issues/201051696

@CXwudi
Copy link

CXwudi commented Jun 7, 2023

Any progress on AlertDialog? 👀

@QiXi
Copy link

QiXi commented Jul 26, 2023

To use AlertDialog on desktop, you can install two dependencies at the same time.

api(compose.material) //for AlertDialog 
api(compose.material3)

as a temporary solution

@fflopsi
Copy link

fflopsi commented Aug 4, 2023

If I'm not mistaken, androidx.compose.material3.DatePickerDialog is also one of the composables that is still missing

@MatkovIvan
Copy link
Member

MatkovIvan commented Aug 7, 2023

@fflopsi It was tracked in #3354, #3359, #1299. Desktop support was added during merge material3 1.1, iOS and web were in JetBrains/compose-multiplatform-core#717 that was merged recently too

@alexzhirkevich
Copy link
Contributor

If I'm not mistaken, androidx.compose.material3.DatePickerDialog is also one of the composables that is still missing

@MatkovIvan
Actually, he has a point. I've added support for date picker itself, but DatePickerDialog that uses AlertDialog under the hood, is still not merged to common

@MatkovIvan
Copy link
Member

Right, it's about dialog, not a picker itself. Well, material3.AlertDialog is already merged, so it looks like nothing prevents to "commonize" it too. I'll make sure that this dialog is also in our queue.

@MatkovIvan
Copy link
Member

All components mentioned in this issue were merged into main branch, closing

@helmysaeed
Copy link

in which release we can find them pleas

@MatkovIvan
Copy link
Member

The next one, but most part of it is already available in 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants