Ion-menu doesn't disappear when clicking off of it

I’m using ion-menu with ion-menu-toggle. Currently clicking the hamburger icon (ion-menu-toggle) opens the menu, and I can drag it shut.

However, clicking off of the menu, like just somewhere else on the app, doesn’t close the menu. Is this by design? How would I change this behavior?

Okay. So I moved my IonMenu component outside of the IonTabs component and now it works. Is this noted in the documentation somewhere or in any example code? I often find myself just randomly trying things with ionic until it works…