OK, I solved this one. I remove the extra ASPX section which you say replaces something to make the menu responsive.
Then it worked ok, all child menus are active and the code is all good and fully responsive.
I think the basic masterpage code provided by vs2019 is handling the responsiveness.
Thank you.