GM15
June 16, 2024, 3:37pm
1
Hello,
I am having an issue with my drawer menu on my customised dawn theme. the opening and closing animation is not working, the menu just pop up. Also the close is lag/delayed and happened a second after the click on close button.
website : https://a91d87-c1.myshopify.com/collections/frontpage
password : Password25!
Thanks for your help!
EBOOST
June 17, 2024, 4:54am
2
Hi @GM15 ,
May I suggest to update code these steps:
Go to Store Online-> theme → edit code
Assets/component-menu-drawer.css
Refer screenshot below to remove code
Add code below
.js details[open] > .menu-drawer,
.js details[open] > .menu-drawer__submenu {
transition: transform var(--duration-default) ease, visibility var(--duration-default) ease;
}
.js details[open].menu-opening > .menu-drawer,
details[open].menu-opening > .menu-drawer__submenu {
transform: translateX(0);
visibility: visible;
}
GM15
June 17, 2024, 10:55am
3
Thank you !! works perfectly now
GM15
June 17, 2024, 11:09am
4
Can you also please check why the close button transform back into the burger menu with 1sec lag/delayed ? thanks
EBOOST
June 17, 2024, 2:13pm
5
Hi,
You can try add code below:
.header__icon--menu .icon {
transition: transform .15s ease,opacity .15s ease
}
.js details[open]:not(.menu-opening)>.header__icon--menu .icon-close {
visibility: hidden
}
.js details[open]:not(.menu-opening)>.header__icon--menu .icon-hamburger {
visibility: visible;
opacity: 1;
transform: scale(1.07)
}
1 Like
GM15
June 17, 2024, 2:48pm
6
thanks, everything is working !!