I’ve got a header with two rows, one is intended for mobile and tablet portrait viewing, and the other for larger screens. I have the top row (mobile) hidden for the three larger sizes, and the second row (desktop) hidden for the smaller two sizes. Both are set with the sticky resizing feature.
However, when I scroll down when viewing on a larger screen, once the header begins to scale, it bumps down with a gap where the top row would be. I tried switching the order of the rows, but then the same happens when viewing on a larger screen—whenever the second row of the header is the active one for that screen size, there is a gap above it once it starts scaling.
Why is this happening?