CalendarView Selection becomes unresponsive when added as Flyout.Content #10273
Labels
area-DateTimePickers
DatePicker, TimePicker, CalendarDatePicker, CalendarView
bug
Something isn't working
Describe the bug
When the
CalendarView
control is added as the content of aFlyout
, its cell selection becomes unresponsive after performing a specific sequence of actions multiple times. The issue occurs when theFlyout
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 fromMonth
view toYear
, thenDecade
, and back toMonth
works correctly the first time. After closing and reopening the Flyout (displayingMonth
view), if the user navigates to theYear
view, cells become unresponsive but navigating toDecade
view restores cell responsiveness. The cells in the view which is first navigated when theFlyout
is closed and then opened are unresponsive.Sample: CalendarIssue.zip
Note: This issue also occurs in
CalendarDatePicker
.Steps to reproduce the bug
Open Custom Flyout
button to open the Flyout containing theCalendarView
.Month
view toYear
, thenDecade
, and back toMonth
.Close Flyout
button to close the Flyout.Month
view).Year
view and hover over the cells—notice that the cells are unresponsive.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
, andDecade
) should remain responsive to mouse hover and click actions, even after reopening theFlyout
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
The text was updated successfully, but these errors were encountered: