maui
maui copied to clipboard
Win: Button clicked event and command will not be occurred in EmptyView of CollectionView
Description
Button clicked event and command will not be occurred in EmptyView of CollectionView
Steps to Reproduce
- open sln using vs 2022
- set a break point on Button_Clicked event of MainPage.xaml.cs
- f5 to run the app
- click the button
Link to public reproduction project repository
https://github.com/jingliancui/EmptyViewIssue
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Win 19041
Did you find any workaround?
no
Relevant log output
no
Just stumbled upon the same issue. Would be nice with a fix!
Verified this on Visual Studio Enterprise 17.9.0 Preview 3(8.0.3). Repro on Windows 11, not repro on Android 14.0-API34, iOS 17.2 and MacCatalyst with below Project: SampleApp.zip