Content area hover instead of click - dropdown remain active

I discovered this solution for my site, however, the dropdown menu does not stay active during the interaction. Once my mouse enters the dropdown menu it disappears. Can you help with revising the code provided in this answer to ensure that the dropdown menu stays active during the interaction?

Hi @coloffdigital,

Thank you for writing in, you have a lot of sites associated with your account. Would you mind providing us the site URL so we can take a closer look? In the meantime, try removing the second block (mouseleave function) on the given code.

,
    mouseleave: function () {
        $(this).trigger('click');
    }

I advise that you keep the native on click instead of on hover to avoid conflicts, unless you know what you’re doing.

Thanks,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.