Open rachelkang opened 2 years ago
@rachelkang Could you share your repro project, thanks?
Hi @rachelkang. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Verified this issue with Visual Studio Enterprise 17.6.0 Preview 2.0. Not repro on Android device with Maui Project. TabbedPage.zip
Hi @rachelkang. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Hi, @QianaJiao - I've tested again on .NET 8 and can confirm this is still an issue. While it doesn't crash, heading is not supported on searchBar or toolBarItem.
The repro project referenced is at https://github.com/rachelkang/recipeSearch
That being said, please don't worry about re-validating this issue as I'm on the .NET MAUI team and have validated that it is. Thank you!
This is also an issue with ListViews and even CollectionViews: https://github.com/dotnet/maui/issues/21830
Description
SemanticProperties.HeadingLevel
doesn't work when applied to certain controls likeSearchBar
andContentPage.ToolbarItem
. While it doesn't work for SearchBar, the app crashes when applied to ToolbarItem.Investigated only on Android
Steps to Reproduce
SemanticProperties.HeadingLevel
on theSearchBar
in StartingPage.xamlSemanticProperties.HeadingLevel
on theToolbarItem
in MyRecipesPage.xamlExpected Behavior
SemanticProperties.HeadingLevel
should be applicable to ToolbarItem, as it functions with Button, a similar control. Whether it is applicable to other controls like SearchBar should be clarified and accurately reflected (in intellisense, for example).Actual Behavior
SemanticProperties.HeadingLevel
doesn't work for SearchBar and ToolbarItem.Basic Information