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

Introduce Dropdown #670

Merged
merged 15 commits into from
Jul 13, 2024
Merged

Introduce Dropdown #670

merged 15 commits into from
Jul 13, 2024

Conversation

enisn
Copy link
Owner

@enisn enisn commented May 22, 2024

dropdown

uranium-dropdown-windows

uranium-dropdown-android

<uranium:Dropdown ItemsSource="{Binding Options}" SelectedItem="{Binding SelectedOption}" />

TODO

  • Documentation
  • Customization Options
  • Implement it as DropdownField in Material package

@enisn enisn added this to the v2.9 milestone May 22, 2024
@daltzctr
Copy link

One issue this has is that dropdown or picker on MacCatalyst shows the iOS version, which isn't really applicable. MAUI has the same issue with it's Picker control

@enisn
Copy link
Owner Author

enisn commented Jun 20, 2024

Still couldn't figure out customization logic, so this awaits in draft.

One issue this has is that dropdown or picker on MacCatalyst shows the iOS version, which isn't really applicable. MAUI has the same issue with it's Picker control

You're right, MAUI uses UIKit for MacCatalyst output and a MAUI app behaves like iPad application that runs on MacOS. But Xamarin.Mac was using AppKit to build desktop apps for MacOS. It can be enabled in MAUI currently but it's not default. Even MAUI team uses UIKit over AppKit on desktop, I'm not sure that should I consider it for now

@DevFromDownUnder
Copy link
Contributor

What is the purpose of a dropdown vs picker?

@enisn
Copy link
Owner Author

enisn commented Jul 9, 2024

What is the purpose of a dropdown vs picker?

It has a different UX. Instead of a blocking modal to pick an option, it drops down a menu to pick. On desktop it similar to picker but on mobile devices, it has a unique experience.

@enisn enisn marked this pull request as ready for review July 13, 2024 15:00
@enisn enisn merged commit ba73077 into develop Jul 13, 2024
3 checks passed
@enisn enisn deleted the dropdown branch July 13, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants