Dropdown menu disappears before you can click something
SOLVE
Hello!
I've just inherited this site and I've noticed that the dropdown doesn't always stay down when you click on it, if that makes sense. I've made a gif to show you what I mean. I click it, and when I go to click something else it disappears. It does work eventually (usually around my 3rd attempt) but never seems to work for me the first time.
Dropdown menu disappears before you can click something
SOLVE
So there are a number of things going on here, including a few redundencies about 3 of them that can probaly be reduced. Luckely it seems that only one of them is functioning…weird thing to be lucky about lol.
Anyway in your "Companymain.js" file on line ~39, find this line of code:
Sorry for the delay. Ill have a closer look at this today.
In the meantime if you inspect at the markup (im using FF) and the associated JS you can see that the LI element has a click listener that adds the "active" class. And inside the A element has a click event listener. I believe that this combo is whats causing the issue. See image below:
You can investigate by looking at the Companymain.js file line 51 and 33.
Dropdown menu disappears before you can click something
SOLVE
So there are a number of things going on here, including a few redundencies about 3 of them that can probaly be reduced. Luckely it seems that only one of them is functioning…weird thing to be lucky about lol.
Anyway in your "Companymain.js" file on line ~39, find this line of code: