-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Flyout Page: iOS version doesn't have a native hamburger icon for the flout menu #15258
Comments
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Worksround for dotnet/maui#15258
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
I don't believe this is a bug. This is the default behavior for Flyout view, as it was in Xamarin.Forms. There is no "default" hamburger menu icon for iOS. It's not a native iOS component. There is a "hamburger menu" that appears within Shell, but that is an included image within Forms/MAUI. (Although this is shown under Compatability, I'm unsure if a newer implementation is pointing to something else). So, the default behavior for iOS/Catalyst with this control would be to show the title text of the button. This is the same behavior as it was on Xamarin.Forms, so everything is intact from it. You can override that with your own icon image, as you've seen and is documented. @PureWeen What do you think? Is there anything that we could do here? Am I missing any context? |
By default, iOS doesn't have hamburger icon and uses title text of the button [1]. Closes dotnet/maui#15258 [1] dotnet/maui#15258 (comment)
By default, iOS doesn't have hamburger icon and uses title text of the button [1]. Closes dotnet/maui#15258 [1] dotnet/maui#15258 (comment)
By default, iOS doesn't have hamburger icon and uses title text of the button [1]. Closes dotnet/maui#15258 [1] dotnet/maui#15258 (comment)
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
By default, iOS doesn't have hamburger icon and uses title text of the button [1]. Closes dotnet/maui#15258 [1] dotnet/maui#15258 (comment)
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
iOS version utilizes the title property of Flyout page as a 'hamburger icon'. Therefore, a png file for iOS version has been added. Workaround for dotnet/maui#15258 The icon that is set for Flyout page is not applicable to android version of the app because of this bug: dotnet/maui#15211
This comment was marked as outdated.
This comment was marked as outdated.
Nevermind - something changed with how colors are used, which was actually hiding the icon. |
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 2. Can repro on iOS platform with sample project. |
@drasticactions what do you think about adding a new property to FlyoutPage eg. |
When I add a custom hamburger icon for iOS using IconImageSource. Also suffers from the color of the icon being changed. e.g. you use a png icon with green colour and then it turns to gray or whatever default color is set somewhere. |
Description
Expected Behavior:
The application should display a hamburger icon as the button to open the flyout menu.
Current Behavior:
The application does not generate a hamburger icon. Instead, the Title property of a component, possibly a button or a text element, is being used as the button to open the flyout menu.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/dotnet/maui-samples/tree/main/7.0/Navigation/FlyoutPageSample
Version with bug
8.0.49
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16
Did you find any workaround?
Set a custom icon for IconImageSource property of the FlyoutPage
Relevant log output
No response
The text was updated successfully, but these errors were encountered: