Slide-in animation snapping when opening the navigation drawer in mobile view

I am trying to clone the sidebar navigation from this website https://m3.material.io/ , How it is supposed to : In the mobile view , when clicking on a menu item the menu slides off and the navigation drawer is revealed What it does in my solution : In my clone while opening the navigation drawer , it just snaps or disappears and after a little delay the navigation drawer is revealed code pen : https://codepen.io/jn3ck-/pen/bGzqGEV
Material Design
Material Design
Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences.
2 Replies
Mannix
Mannix12mo ago
I think you need to wrap those two elements and put bg-color radius etc on that wrapper smth like this https://codepen.io/MannixMD/pen/vYbxYPE
MagicEmperor
MagicEmperor12mo ago
Thx a ton
Want results from more Discord servers?
Add your server