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

CalendarView Selection becomes unresponsive when added as Flyout.Content #10273

Open
VishalOmprasad opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@VishalOmprasad
Copy link

Describe the bug

When the CalendarView control is added as the content of a Flyout, its cell selection becomes unresponsive after performing a specific sequence of actions multiple times. The issue occurs when the Flyout is closed and reopened, and the user navigates through different calendar views using the header.

For example, opening the Flyout via a button click, navigating from Month view to Year, then Decade, and back to Month works correctly the first time. After closing and reopening the Flyout (displaying Month view), if the user navigates to the Year view, cells become unresponsive but navigating to Decade view restores cell responsiveness. The cells in the view which is first navigated when the Flyout is closed and then opened are unresponsive.

Sample: CalendarIssue.zip

Note: This issue also occurs in CalendarDatePicker.

Steps to reproduce the bug

  1. Open and run the attached sample.
  2. Click the Open Custom Flyout button to open the Flyout containing the CalendarView.
  3. Navigate from Month view to Year, then Decade, and back to Month.
  4. Click outside or Close Flyout button to close the Flyout.
  5. Reopen Flyout (which now displays the Month view).
  6. Navigate to Year view and hover over the cells—notice that the cells are unresponsive.
  7. Navigate to Decade view and hover over the cells—notice that the cells are now responsive.

Expected behavior

All cells in the CalendarView across all views (Month, Year, and Decade) should remain responsive to mouse hover and click actions, even after reopening the Flyout and navigating between different views.

Screenshots

CalendarView

WinUI-CalendarView-Cell-Interaction-issue.mp4

CalendarDatePicker

WinUI-CalendarDatePicker-Cell-Interaction-issue.mp4

NuGet package version

WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003

Windows version

No response

Additional context

No response

@VishalOmprasad VishalOmprasad added the bug Something isn't working label Jan 6, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant