bug: SplitPane not working when Menu is wrapped in a Component
See original GitHub issueBug Report
When wrappen the menu inside a SpliePane in it’s own component (e.g. <my-menu>
) the SplitPane is not working as expected (2 Panes are shown)
Ionic version:
[x] 5.x latest
Current behavior:
When wrapping the menu inside a SplitPane in it’s own component (e.g. <my-menu>) 2 Panes are shwon
Expected behavior:
The SplitPane should work as if i would put the <ion-menu>
right underneath the SplitPane
Steps to reproduce:
Related code: not working:
<ion-split-pane when="xl" contentId="main">
<my-menu></my-menu>
<ion-router-outlet main id="main"></ion-router-outlet>
</ion-split-pane>
working:
<ion-split-pane when="xl" contentId="main">
<ion-menu>...</ion-menu>
<ion-router-outlet main id="main"></ion-router-outlet>
</ion-split-pane>
insert short code snippets here
Other information:
Ionic info:
insert the output from ionic info here
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
bug: SplitPane not working when Menu is wrapped in ... - GitHub
Bug Report When wrappen the menu inside a SpliePane in it's own component (e.g. ) the SplitPane is not working as expected (2...
Read more >IonicV4 Menu Component inside Split Pane not showing
I'm trying to build an app with Ionic V4. I'm following Ionic Docs but It's a headache even for simplest things. I want...
Read more >Problem with tabs and shared ion-menu - Ionic Vue
Hi, I'm trying to set up a common ion-menu for every tab in a tab-based interface. I've added the same menu to each...
Read more >JavaFX CSS Reference Guide - Oracle Help Center
This document describes the JavaFX Cascading Style Sheets (CSS) for JavaFX 2 and explains the styles, values, properties and associated grammar.
Read more >React Split-pane Component - Morioh
If you wrap the SplitPane into a container component (yes you can, just remember the container has ... https://github.com/tomkp/react-split-pane/issues/233 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This bug is still happening as of 5.6.3 for @ionic/vue
so the temporary work around is
This bug is still happening as of 5.4.3. If you get rid of the
<ion-split-pane>
it works as advertised with<ion-menu>
wrapped in its own component, e.g.,<my-side-menu>