I need how to make it so that when I move around the keyboard the focus is placed in the real position so that it can show me the submenu as shown in the photo.
The submenu you can style in the HTML block and then add it to the “HTML Block for the dropdown” field in Appearance -> Menus. https://prnt.sc/XolQVFL-M69q