Hello,

Yes this is the intended functionality, it is not a bug.

If not, you would not be able to toggle open the parent menu on mobile devices. It would link you to the parent menu’s link.

So the parent menu acts as an anchor.