# Right side menu not showing when expose-aside-when=large

**URL:** <https://forum.ionicframework.com/t/right-side-menu-not-showing-when-expose-aside-when-large/10479>\
**Category:** ionic-v1\
**Created:** [October 1, 2014, 8:10am UTC](https://forum.ionicframework.com/t/right-side-menu-not-showing-when-expose-aside-when-large/10479 "2014-10-01T08:10:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonvillalon](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jasonvillalon](https://forum.ionicframework.com/u/jasonvillalon)\
**Post date:** [October 1, 2014, 8:10am UTC](https://forum.ionicframework.com/t/right-side-menu-not-showing-when-expose-aside-when-large/10479/1 "2014-10-01T08:10:18Z")

</div>

Hi I created a new project and added right side menu.

menu-toggle=“right” is not working when expose-aside-when=“large” is added in ion-side-menus

[http://plnkr.co/w0aJln?p=preview](http://plnkr.co/w0aJln?p=preview)

is there a way to do this?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![iwantwin](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@iwantwin](https://forum.ionicframework.com/u/iwantwin)\
**Post date:** [October 1, 2014, 8:36am UTC](https://forum.ionicframework.com/t/right-side-menu-not-showing-when-expose-aside-when-large/10479/2 "2014-10-01T08:36:59Z")

</div>

It looks like there is a bug in the expose-aside-when directive, it doesn’t seem to keep in mind that right menu could exist like this… Well, someone should fix this and create a pull request.

You could either fix it and share the pull request, or create a custom implementation for your needs… Or wait for someone to fix it 😉

iwan

---

<div class="post-metadata">

**Author:** ![jasonvillalon](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jasonvillalon](https://forum.ionicframework.com/u/jasonvillalon)\
**Post date:** [October 1, 2014, 9:53am UTC](https://forum.ionicframework.com/t/right-side-menu-not-showing-when-expose-aside-when-large/10479/3 "2014-10-01T09:53:23Z")

</div>

> [@iwantwin](#):
>
> Or wait for someone to fix it
> 
> iwan

Thank you for your reply. i guess i just have to customize it. for now i just changed

> if(isAsideExposed || !self.right.isEnabled) return;

> to

> if(!self.right.isEnabled) return;

in self.toggleRight = function(shouldOpen) {

is it really unusual to make my side menu like this?

---

<div class="post-metadata">

**Author:** ![iwantwin](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@iwantwin](https://forum.ionicframework.com/u/iwantwin)\
**Post date:** [October 1, 2014, 10:04am UTC](https://forum.ionicframework.com/t/right-side-menu-not-showing-when-expose-aside-when-large/10479/4 "2014-10-01T10:04:46Z")

</div>

No, not unusual at all! What you want is expected and desired behaviour as far as I can see. I actually have a similair situation in my current project, but I created this before the expose-aside-when directive was released, and will keep the custom code because of some very app specific features. (e.g. I’m always showing list-icons in the sidebar, so my sidebar never closes completely but always to 51 pixels)

Your solution sounds fine for what you want to achieve, creating a bug report on the ionic github might help the dev team to not overlook this issue. I guess the sidemenu in the way you want to achieve is not a standard test case…
