Hi there!
The behaviour of the Headers in multipage apps is inconsistent when its content is fully hidden and the padding is set to none.
There are two cases here, let's imagine the Header is filled with only a Navigation:
- Navigation is Hidden by default -> the header is not shown at all (similar to display: none), when toggling navigation.isHidden using JS, the header is shown and completely hidden correctly.
- Navigation is shown by default -> the header is also shown. When toggling navigation.isHidden using JS, the navigation isHidden, but the header still takes the same amount of space, as if "maintain space when hidden" was turned on (even though it isn't). When toggling isHidden again, the navigation is shown again correctly.
Here, 1. is the expected behaviour, meaning that when a header is shown by default, the padding is not shown, and all of it's contents are hidden using js, it should completely disappear rather than maintaining a weird amount of space.
I am experiencing this on self-hosted version 3.102.0. It would be amazing if it could be fixed! Happy to provide a video showcasing this behaviour if necessary.
Thank you in advance