Faced a problem. Made a vertical menu with pop-up submenu when hovering. But when you move the mouse diagonally downwards, the following submenu naturally pops up. It is necessary that when the mouse moves exactly vertically, the menus open, but not diagonally, which would allow the user to hover the submenu with the mouse.
How can I do that?
