3

I have created a custom module for Megamenu. In desktop view it looks good and working fine. In mobile view, I want to implement a functionality but I'm not sure how to do that.

The functionality which I want to implement is that when a user clicks on mobile menu icon, the menus will be displayed without any issues. In order to close the menus, user needs to click the body of the web page. We want it to make as a swipe one.

When a user swipe the menu, it should be closed.

Could anyone please help me with this?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.