I know this extension has gone into core, and the situation will change again when the next Flarum release comes out, but let this be a segue into a question about that too.
Part A
First, we've updated CSF to the last build of this extension (0.1.0 beta3). As anticipated, we had to modify our presentation to account for the markup changes from beta2 to beta3. No big deal. However, we seem to have introduced a bug somewhere. The behavior seems to be associated with this element and/or one of the selectors (though not 100% sure):
<header id="header" class="App-header">
But we're not able to track it down.
We can reliably see the bug when opening the Administration side, then using the upper-right corner link to return to the front home-page (currently called "Main page" for us). The problem is an exaggerated gap that appears in the header, marked with orange here...
The gap goes away if you refresh the page. And the gap does not appear when just navigating around the front-side, at least not that we've found yet.
This would suggest there might be a conflict in the CSS rules somewhere, but, as mentioned, we haven't been able to spot the location. If anyone has the knack and time to investigate with browser tools, or whatever, we'd be grateful. Between the necessary override rules and the rules we have in the header extension's settings, it gets hard to focus on it sometimes.
Part B
This leads me to want to ask some questions about the next iteration of this functionality in core, and I'd expect maybe @Franz or @Toby has inside knowledge of it, but anyone can say if they know... What is the markup and selectors going to look like in the next release?
As Davis mentioned earlier in the thread, the current 0.1.0 b3 markup is:
<header id="header" class="App-header">
<div id="extGlobalNav">
(Custom Header HTML)
</div>
<div id="header-navigation" class="Header-navigation"></div>
<div class="container"></div>
</header>
Will that section of markup remain the same?
And related to that is an issue raised a while back to bring attention to how Flarum handles site identity, thus identity users see in email notifications when a global identity bar is employed. This is a real problem for us, currently, because notifications people see from our system identify as "Main page", and that's far from ideal.
Franz admitted there that the issue is a tricky one to handle, considering not everyone may want to use a global identity bar like we do. But if the header code has been integrated in core, then obviously it needs a solution, perhaps along these lines, or some other.
Is there any clarity on that yet about what we can expect with regard to markup and identity handling in the next release?