In the main navigation of our Wordpress website (made by the Divi Page Builder) we have two submenus. The submenu appears without a problem when you hover over the main navigation item, but the problem occurs when you leave the submenu. The background and the text disappear on two different moments.
I used some jQuery scripting for changing the appearances of the whole menu on scroll, but deleting the whole script doesn't fix the problem. So I think this is a CSS issue?