- Issue created by @ambient.impact
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.
The new navigation's JavaScript seems to have an all or nothing approach to displacement in the sense that displacement is bundled up with other changes that are all wrapped in a once()
on the document.documentElement
and it doesn't have a detach once.remove()
to then allow a subsequent attach to apply. You might be wondering why this is an issue? It breaks displacement when navigating around the admin section using
the RefreshLess module →
, which swaps out the page contents without any full page loads, and thus needs working behaviour detach callbacks to clean up before it swaps in a new page.
See above.
Move the displacement stuff to its own behaviour.
Do the thing.
Displacement should now work.
None.
None?
None.
???
Active
11.1 🔥
navigation.module
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.