Skip to content

[Ionic v4] If auto-hide isn't set in ion-menu-toggle, menu item isn't displayed on md #15042

@peterpeterparker

Description

@peterpeterparker

Ionic Info
@ionic/angular: "4.0.0-beta.1"

Describe the Bug
If the attribute auto-hide isn't set in an ion-menu-toggle of a menu, then the menu item on Android ("md") won't be displayed. On the other side, same item without the attribute will be displayed on iOS ("ios")

Expected Behavior
One or the other but not two different behavior

Furthermore, if it shouldn't be displayed, then maybe adding something in the doc about that https://github.com/ionic-team/ionic/tree/a7f1f4daa7166281f0735552b122d4c827cd20f1/core/src/components/menu-toggle

Code

git clone https://github.com/peterpeterparker/first-ion-card

Screenshot

capture d ecran 2018-08-04 a 19 10 38

Workaround

Of course set the attribute auto-hide to a value if your item isn't displayed in your menu on md

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions