-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[BUG] ContentPage ToolbarItem Icon not displaying #3024
Comments
Thanks for reporting this issue. We are currently looking into this but it's hard to say when we'll be able to resolve or if we can resolve it directly. There seems to be something breaking specifically in .NET MAUI for the ToolbarItem Icons as the MenuBar and TabbedPage Icons all work just fine as well as general Image Sources across the application. We are working with the MAUI team to try to identify how/where this could be breaking. |
I have noticed the same issue, toolbar icons are working on Android and iOS, but not on Windows |
@anpin thank you for confirming that this is working for you on Android and iOS. |
this was fixed for me in the latest MAUI versions. @pierreszelag can you confirm? |
@anpin it is still not working for me with MAUI 8.0.21. Do you have a sample project to share ? |
In MAUI 8.0.40 still the issue... I know the Maui team is overload with PR, 200 right now... I found a few PR for iOS that could be part of this issue and others related to PRISM. Can any body help to get this PR on production, we are stuck with iOS issues [iOS] Shell toolbar items #20510 [iOS] Shell/NavigationPage TitleView #20959 |
After reading all the issues responses and answers from @dansiegel today... I try today one more time the iOS navigation and everything start working as before just after avoid to register the NavigationPage. Navigation bar and icons working as expected. At RegisterTypes method just commented this
Strangely on Android this do not create any issue but on iOS using /NavigationPage as parameter won't work or create an exception... In this case I could ignore my last post referring Maui PR issues. I did my test on Maui 8.0.40. |
Description
Inside a ContentPage, when a ToolbarItem with an IconImageSource is added, the icon is not visible.
Icons are supposed to be the same as the image in th middle of the page.
In the same demo project, a test was made without Prism and the ToolbarItem Icon was visible.
.NET version : 8
VS : 2022 Preview 17.9.0
Steps to Reproduce
Demo Project : MauiApp1.zip
Platform with bug
.NET MAUI
Affected platforms
Windows
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: