cornucopia
cornucopia copied to clipboard
UI/UX enhancement: Mobile Nav Menu Transition Not Smooth
Describe the Bug
The mobile hamburger menu opens and closes, but the transition is not smooth/animated.
To Reproduce
- Open the site on mobile or a narrow viewport
- Tap the ☰ icon to open the nav menu
- Observe the abrupt transition
Expected Behavior
The menu should open and close with a smooth CSS transition (e.g. slide or fade).
Environment
- Device: Mobile
- URL: cornucopia.owasp.org
Additional Context
The toggle works but lacks a smooth transition. Adding transition: transform 0.3s ease (or similar) to the nav element should fix it.
Video demo
https://github.com/user-attachments/assets/753f9b26-c792-450c-810c-d8d6e648571c
This is a very minor issue. You can try it without JavaScript.
This has been fixed.