Bug Report
Ionic version:
[ ] 4.x
[x] 5.x
Current behavior:
The layout is correct, although the menu in the first split pane is not expanded (able to toggle it with the menu toggle button). Depending on the when clause in the second split pane, it works after resizing, so that split pane 1 is triggered
Expected behavior:
The menu should be expanded when loading the site and not depend on any other split panes.
Steps to reproduce:
- Add a split pane with a menu and content inside it
- Add a split pane inside the content
- Serve the ionic website and menu is not expanded
Related code:
VueJS
<template>
<ion-app>
<ion-split-panecontent-id="main-content">
<ion-menucontent-id="main-content">
<ion-header>
<ion-toolbar>
<ion-title>Menu</ion-title>
</ion-toolbar>
</ion-header>
</ion-menu>
<divclass="ion-page"id="main-content">
<ion-header>
<ion-toolbar>
<ion-buttonsslot="start">
<ion-menu-togglemenu="start">
<ion-button>
<ion-icon:src="list"></ion-icon>
</ion-button>
</ion-menu-toggle>
</ion-buttons>
<ion-title>Test</ion-title>
</ion-toolbar>
</ion-header>
<ion-contentclass="ion-padding">
<ion-split-panewhen="sm"content-id="1">
<pid="1">Test</p>
<pid="2">Test2</p>
</ion-split-pane>
<ion-router-outlet></ion-router-outlet>
</ion-content>
</div>
</ion-split-pane>
</ion-app>
</template>
Other information:
Ionic info:
Ionic:
Ionic CLI : 6.12.0 (/Users/<user>/.config/yarn/global/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 5.4.0
Capacitor:
Capacitor CLI : 2.4.2
@capacitor/core : 2.4.2
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v14.13.1 (/usr/local/Cellar/node/14.13.1/bin/node)
npm : 6.14.8
OS : macOS Catalina
Bug Report
Ionic version:
[ ] 4.x
[x] 5.x
Current behavior:
The layout is correct, although the menu in the first split pane is not expanded (able to toggle it with the menu toggle button). Depending on the when clause in the second split pane, it works after resizing, so that split pane 1 is triggered
Expected behavior:
The menu should be expanded when loading the site and not depend on any other split panes.
Steps to reproduce:
Related code:
VueJS
Other information:
Ionic info: