How to prevent nested navigation redirect?

Hi, Atlassian community.
We’re using nested navigation for our project. Unfortunately, we’re facing the problem of redirect on click on top-level web item. It happens if the Jira Cloud page is not totally loaded. Is there something we can do to prevent redirection?

"webItems": [
        "location": "",
        "url": "#",
        "target": {
          "type": "page"
        "tooltip": {
          "value": "My App Tooltip"
        "name": {
          "value": "My App"
        "key": "my-app-nav-menu"

Please, advise.
Best regards, Igor