Menu Block doesn't reflect expand state correctly

Created on 5 February 2024, 5 months ago
Updated 2 March 2024, 4 months ago

Problem/Motivation

When working with complex menu structures, the sidebar was not respecting the "expanded" state correctly.

Steps to reproduce

Create hierarchical menu and deselect "Expand all menu links". Then refresh the page where the sidebar menu block is displayed and review the HTML. You'll note the class "expanded" is not in the right place and the menu is not in fact respecting it being collapsed or hidden.

Proposed resolution

Move the twig stanza which creates the variable value so it is situated in the correct place.

πŸ› Bug report
Status

Fixed

Version

5.2

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada wilco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024