Mobile menu disappearing on scroll

This is harder to replicate in a desktop browser imitating a mobile.

My problem is that when the menu is open on the mobile, scroll is still activated and when the page is scrolled, the menu sometimes glitches out and disappears. It’s still “stuck” in menu mode as I have to click the menu button to close and reopen it but everything else disappears.

My workaround has been to try to disable the scroll when the menu is open but this still hasn’t helped.

Does anyone have any ideas?