Hi, I would normally need your help.
I’m trying to make a menu similar to Apple and up to here everything is fine.
The problem comes from the moment I enter the overflow: hidden in mobile devices.
These do not respect this class and continue to flow even if the open menu covers 100% of the height.
You can check my menu at the following address:
https://areamembri.matteofeduzi.com
Note that I currently have a function that adds a class to the main that applies a display: none.
In doing so, however, every time I close the menu it wraps and this is not really optimal for a correct user.
Actually it is like the Apple site.
https://www.apple.com/it/
They too have the same problem.
How can I work around it?
Best Regards,
Feduzi Matteo.