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

[iOS] Managed DatePicker initially shows only today's date in an empty flyout with an empty selection - After reopening, it displays a full list, but the centered date is incorrect #19567

Open
agneszitte opened this issue Feb 20, 2025 · 1 comment
Assignees
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@agneszitte
Copy link
Contributor

agneszitte commented Feb 20, 2025

Current behavior

Managed Date Picker for iOS:

  • First Opening: When opening the Managed DatePicker for the first time, the flyout appears mostly empty, displaying only today's date (February 19, 2025 when I tested) while the surrounding list is missing. The selection is centered in the middle of the screen but appears as an empty row.

    Image

  • Second Opening: After closing and reopening the Managed DatePicker, it now properly displays a full list of dates, but the centered selection is not today's date (Getting June 23, 2029 when I tested, where it should be February 19, 2025).

    Image


Managed-Date-Picker-iOS-issue.mp4

Expected behavior

  • On the first opening, the Managed DatePicker should show a full list of selectable dates rather than appearing empty, with today's date centered in a fully populated list. (To match the behavior of all the other platforms)
  • On reopening, if no date has been selected, today's date should remain centered. If a date was selected, then the last selected date should be centered, ensuring consistency. (To match the behavior of all the other platforms)

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

Solution to easily repro the issue: Issue19567.zip

  1. Create a Blank Uno Platform app with uno.sdk 5.6.36.
  2. Add in MainPage.xaml:
          xmlns:not_win="http://uno.ui/not_win"
          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
          mc:Ignorable="not_win"
          ---
          <DatePicker not_win:UseNativeStyle="False" />
    
  3. Launch the app for iOS
  4. Open the Managed DatePicker for the first time
    Observe: The flyout appears mostly empty, displaying only today's date (February 19, 2025 when I tested) while the surrounding list is missing. The selection is centered in the middle of the screen but appears as an empty row.
  5. Open the Managed DatePicker for the second time
    Observe: It now properly displays a full list of dates, but the centered selection is not today's date (June 23, 2029 when I tested).

Workaround

N/A

Works on UWP/WinUI

Yes

Environment

  • Templates/SDK: 5.6.36
  • VS VSIX: 5.6.31

Affected platforms

iOS

IDE

Visual Studio 2022

IDE version

(64-bit) - Version 17.13.1

@agneszitte agneszitte added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Feb 20, 2025
@agneszitte agneszitte changed the title [iOS] Managed DatePicker initially shows only today's date in an empty flyout with selection in the middle of the screen for an empty date - After reopening it properly displays a full list, though the centered date is not today's date [iOS] Managed DatePicker initially shows only today's date in an empty flyout with an empty selection—After reopening, it displays a full list, but the centered date is incorrect Feb 20, 2025
@agneszitte agneszitte changed the title [iOS] Managed DatePicker initially shows only today's date in an empty flyout with an empty selection—After reopening, it displays a full list, but the centered date is incorrect [iOS] Managed DatePicker initially shows only today's date in an empty flyout with an empty selection - After reopening, it displays a full list, but the centered date is incorrect Feb 20, 2025
@jeromelaban
Copy link
Member

jeromelaban commented Feb 20, 2025

The managed date picker is not the default on iOS and is not prioritized for fixing at this time.

@MartinZikmund MartinZikmund self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

3 participants