We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
By default, CalendarDatePicker's dropdown won't close when clicking outside its bounds when using Avalonia's simple theme.
I believe this is a regression between 0.10.22 vs 11.x, introduced here: 00c0823#diff-0511907109f114545e18d756f0b26d60d7785744ae6cd1e952eee4ec8f2249c5L121-R121
Simple theme style:
Avalonia/src/Avalonia.Themes.Simple/Controls/CalendarDatePicker.xaml
Lines 119 to 121 in 151d97a
Fluent theme style is correct:
Avalonia/src/Avalonia.Themes.Fluent/Controls/CalendarDatePicker.xaml
Lines 125 to 127 in 151d97a
Workaround: Override the default control template or use a style trigger to override the underlying Popup's IsLightDismissEnabled property.
The dropdown shall be closed when clicking outside its visual bounds
11.2.3
No response
The text was updated successfully, but these errors were encountered:
Yes, this sounds like a mistake introduced when StaysOpen was removed, the boolean needed to be reversed. A PR would be welcome :)
StaysOpen
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
By default, CalendarDatePicker's dropdown won't close when clicking outside its bounds when using Avalonia's simple theme.
I believe this is a regression between 0.10.22 vs 11.x, introduced here:
00c0823#diff-0511907109f114545e18d756f0b26d60d7785744ae6cd1e952eee4ec8f2249c5L121-R121
Simple theme style:
Avalonia/src/Avalonia.Themes.Simple/Controls/CalendarDatePicker.xaml
Lines 119 to 121 in 151d97a
Fluent theme style is correct:
Avalonia/src/Avalonia.Themes.Fluent/Controls/CalendarDatePicker.xaml
Lines 125 to 127 in 151d97a
Workaround:
Override the default control template or use a style trigger to override the underlying Popup's IsLightDismissEnabled property.
To Reproduce
Expected behavior
The dropdown shall be closed when clicking outside its visual bounds
Avalonia version
11.2.3
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: