menuItems Property

I have been attempting to set up my site menu via the set menuItems property in Velo. I have added links with the link provided in the editor for the various section URLs (baseURL/page#section-title). However these do not seem to work consistently, only taking the user to the page and not the section. Sometimes they do work but not often.

I have also noticed that if I create a menu in the editor and get the menuItems property, the links to the sections only contain a link to the page. How does the link know to go to the section if it only goes to the page? The menu constructed in the editor goes to the section as expected.

Why does setting the menuItems property for sections not work?

Product:
Wix Editor

What are you trying to achieve:
Set the menu via the menuItems property in velo and have functioning links in the menu to the sections

What have you already tried:
I have been following the set up for the menuItems property as set out in the Velo Reference pages - menuItems - Velo API Reference - Wix.com

Looking at the docs it seems like links directly to sections are not supported here. You can request this feature on the product roadmap: Product Roadmap