Hello Webflow community!
I’m afraid I’ll be terrible at explaining what’s bothering me in English, but I really do hope that you will help me.
The thing is, I’ve made a ‘slide-in’-sidebar at www.designerhjelme.dk. It’s display:none initially and then changes to display:block while moving 400px (or so) to the left when triggered.
That works amazingly well. What doesn’t work well is that fact that there are multiple buttons that trigger this slide-in/slide-out thing and if you use trigger A to open it and you close it with trigger B (which are each others opposites transition-wise), then you’ll have to press trigger A twice for it to actually open it once again, since it’s still waiting for that 2nd mouseclick.
Example: Go to www.designerhjelme.dk and press the mailicon at the top right of the screen. That will trigger the sidebar to slide in. Now press the X button at the top right. That makes the sidebar go away again. If you press the mail icon again you’ll have to press it twice for it to actually go back to 1st mouseclick again and open the sidebar.
What do I do to synchronize these triggers with each other?
Thanks in advance!