unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.88k stars 717 forks source link

[macOS] native `DatePicker` should be implemented and be default #5995

Closed KSemenenko closed 4 months ago

KSemenenko commented 3 years ago

Current behavior

Just add <DatePicker />

Screenshot 2021-05-13 at 10 41 04

Expected behavior

The picker should look normal, without strange objects.

How to reproduce it (as minimally and precisely as possible)

Just create new project, add <DatePicker /> and run it on macOS.

Workaround

Environment

macOS 11.3.1 VS for MAC

Nuget Package:

Nuget Package Version(s):

Affected platform(s):

IDE:

Relevant plugins:

Anything else we need to know?

jeromelaban commented 3 years ago

Thanks for the report.

@carldebilly I think this is a duplicate of another one, right ?

carldebilly commented 3 years ago

Yep it's a duplicate of #5345 and mentioned in #5482.

On iOS, the default mode is to use the native picker instead of this one. But for macOS, a change is required on this line to add support for __MACOS__ native picker from the DatePicker.

ajpinedam commented 2 years ago

Issue still present. Tested with Uno.UI 4.1.0-dev.305

MartinZikmund commented 4 months ago

This is no longer relevant as we have a new macOS backend 🚀