Description of the need
Follow-up to https://github.com/backdrop/backdrop-issues/issues/2782 and https://github.com/backdrop/backdrop-issues/issues/5397.
Menu items have forever had the vague "Expanded" option, which affects the display of menu links when displayed in a hierarchical tree. Note that the "Expanded" option does not affect the drop-down menu display and can also be overridden using the "Show all menu links" option.
Proposed solution
Instead of having "Expanded" options at the menu link level, which only applies in very specific situations, move the settings for expanding menu links to the block level, and only show this setting when using the "Hierarchical Tree" display option:

The obvious downside of this approach would be that if you place the same menu block in multiple places on the site, you would need to reconfigure the list of expanded links multiple times, unless you used a contrib module like mini_layouts to reuse the same block configuration across multiple layouts.
Recent comments
Hi Indigoxela, There is indeed an error logged in the browser console: Uncaught Error: Attempted to load an infinite number of tiles _update GridLayer.js:665 _setView GridLayer.js...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?
Hi Ernst, there seem to be a lot of modules involved, so it's not clear which one causes the trouble. I don't think, it's core. But I also don't think it's Leaflet. I verified with...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?
Do any of these issues help to identify the problem?
Error: Class "ModuleUpdater" not found