I am opening this thread in hopes of finding a solution to an issue mentioned in this topic:
…which was never fully resolved, it seems.
The problem is that when using a smartphone (pixel 2, both firefox and chrome behave the same way), the setting to make a sticky bar shrink causes an unexpected “doubling” of the shrink amount when scrolling back up to the top and then back down again. Here’s the scenario…
- Initial page load, header is 17rem (roughly 235px of actual screen real estate)
- On scroll down, header shrinks as expected and all contents follow suit (roughly 117px of actual screen real estate). Shrink amount os set to 0.5 (see attached)
- Scroll back up to top, header expands to original state as expected.
- Scroll back down, header shrinks to roughly half of the intended size (about 60px)
Repeating this action causes a doubling of the effect again so that there is now 30px used… and so on until it totally disappears. However, the contents of the bar remain visible but are positioned in unexpected ways, For example, the logo’s top half is positioned off screen and cut off.
Reloading the page resets everything and you can consistently repeat the issue again. Here are the settings I’m using in the header builder:
Link to the issue (only a problem on mobile phones, the issue will not happen if you just reduce your browser width):
Please have a look and let me know what can be done. Thanks!