Prevent side menu from showing when starting the app


#1

Following the todo example (http://ionicframework.com/docs/guide/starting.html), I made my app work with a left-side menu.
However, each time the app runs, the content of the menu comes into the view first, which of course is not expected.

So how to avoid that? I wonder if I missed something…


#2

It is my fault. Just ignore it.


#3

What was this issue? Anything that we could do to make sure it doesn’t happen to any other user?


#4

No, in fact I did not solve it.
At first I tested the app in the desktop-browser, and I found that the side menu just bumped into the view at the start of the app. So I posted the issue here.

But then I tested it on ripple emulator, it did not happen. So I assume that it may be caused by the browser, and I just replied my post.

Now on the device, I find the issue is still there. I guess I have to check the code more carefully.


#5

Alright, do you mind throwing this into a codepen? I can take a look at it and figure out what the issue is


#6

Thank you @mhartington, you are so nice~

It is my fault.
I put the side menu in the index page of the app. That is the reason.


#7

Hi guys,

I’m experiencing the same issue with the menu showing during app loading. However I’m using ionic for a mobile website, not a hybrid app. Is there any chance of avoiding this?

Thanks,
Anatoly


#8

You should put the side menu in some template page instead of the index page.
Anyway, that’s what I did to get rid of the issue.