Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71529

Two sidemenus: Left opens when item in right selected

$
0
0

@max_maeuschen wrote:

I added two sidemenus with the following code:

<ion-menu contentId="content" menuId="left">
  <ion-content>
     <ion-list no-padding>
       <ion-menu-toggle auto-hide="false" *ngFor="let p of leftItems">
          ...
       </ion-menu-toggle>
     </ion-list>
  </ion-content>
</ion-menu>

<ion-menu side="end" contentId="content" menuId="right">
  <ion-content>
     <ion-list no-padding>
       <ion-menu-toggle auto-hide="false" *ngFor="let p of rightItems">
          ...
       </ion-menu-toggle>
     </ion-list>
  </ion-content>
</ion-menu>

When an item of the right menu is selected, the right menu closes, but the left opens. What could be my problem? Thanks in advance!

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>