- Issue created by @fionamorrison23
- 🇦🇺Australia alex.skrypnyk Melbourne
It looks like that Drupal does not pass correct variable to disable "Expand all" for level 2+ items.
The solution would be to update the preprocessing for primary navigation.
- 🇦🇺Australia ivrh
@fionamorrison23 can we apply a block-level workaround and restrict the primary navigation block to only show 1 level navigation?
@ivrh workaround is good, thanks. Regardless, this requires a fix and I'll prioritise is accordingly.
- Assigned to joshua1234511
- 🇦🇺Australia alex.skrypnyk Melbourne
This issue needs fixing UI Kit - https://github.com/civictheme/uikit/pull/94
- Assigned to sonam.chaturvedi
- Status changed to Closed: works as designed
11 months ago 1:22am 7 March 2024 - 🇦🇺Australia alex.skrypnyk Melbourne
The UIKit PR referenced above was merged within UIKit repository. The UIKit `Navigation` component was not doing what it was saying on the tin - when `Dropdown` had the value `None` selected - the dropdown behaviour was not applied, but the menu structure was preserved, which is not what the UI component should have done, because `Dropdown` property name controls not only the behaviour, but also the look of the component.
As for the Drupal side - this actually works as designed: using the "Number of levels to display" setting is the expected setting to be used to control the number of levels. So this issue is not an issue with Drupal implementation. Closing.