Skip to content

Portal navigation dropdown links do not work on mobile if there's an even number of them #158

Description

@darkol-asioso

Affected Version

2026.1

Affected capability

Portal-Engine

Steps to reproduce

  1. Create a portal with two pages - each with at least one child page. Make sure the pages are saved and published.
  2. Open the root page on mobile or use Phone preview in admin panel.
  3. Click on navigation hamburger menu and then on one of the navigation links.

Actual Behavior

Dropdown menu does not show up - we cannot access the subpages.
See attached screenshot from Enterprise Demo with two dropdowns.

Image

Expected Behavior

Dropdown menu should show up, displaying links to subpages.
See attached screenshot from Enterprise Demo with one dropdown (the second is unpublished).

Image

Additional info

Issue appears to be caused by the use of findAll() function instead of findAllIn() function in vendor/pimcore/portal-engine/assets/scripts/pages/shared/main-nav.js file on lines:

let $listItems = findAll('.js-main-nav__list-item', list);
let $itemToggles = findAll('.js-main-nav__list-toggle', list);

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Platform Version

    2026.1

    Affected capability

    Portal-Engine

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions