Skip to content

Ion-menu isn't working as intended #17810

@jotceg

Description

@jotceg

Bug Report

Ionic version:

[x] 4.12.0

Current behavior:
The ion-menu should be visible and working, but it doesn't.

Expected behavior:
Ion-menu should be working

Steps to reproduce:
Simply try this code:

Related code:

<ion-content class='ion-no-padding' fullscreen='true'>
  <ion-grid class='ion-no-padding is-fullheight'>
    <ion-row class='is-fullheight'>
      <ion-col style='background-color: #f8f8f8' size-sm='12' size-xs='12' size-md='12' size-lg='3' size-xl='3' class='ion-float-left ion-no-padding ion-no-margin'>
          <ion-menu side="start" menuId="first">
              <ion-header>
                <ion-toolbar color="primary">
                  <ion-title>Start Menu</ion-title>
                </ion-toolbar>
              </ion-header>
              <ion-content>
                <ion-list>
                  <ion-item>Menu Item</ion-item>
                  <ion-item>Menu Item</ion-item>
                  <ion-item>Menu Item</ion-item>
                  <ion-item>Menu Item</ion-item>
                  <ion-item>Menu Item</ion-item>
                </ion-list>
              </ion-content>
            </ion-menu>
      </ion-col>   
      <ion-col size-sm='12' size-xs='12' size-md='12' size-lg='9' size-xl='9' class='ion-float-right ion-no-padding ion-no-margin'>
        test
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-content>

Other information:

Ionic info:

`Menu: must have a "content" element to listen for drag events on.`

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions