I just figured out how to lock the body scroll when the menu is open in mobile, and also how to change the MENU text to CLOSE when opening it. Almost.
When viewing on mobile, or in desktop in a narrow window, the menu, scroll and menu button behave erratically: body scroll works and then doesn’t, both MENU and CLOSE text can be seen on loading and sometimes when triggering the menu button, the menu closes when scrolling down then it doesn’t open/closes… Please check the full video below to see it.
What is going on?
Thanks in advance!