If you don’t want it to shrinked, I think you must to disable the shrink effect in “Samsara options > General setting > Disable Navigation Shrink Effect”, select “Yes”
It’s made no difference to the original issue and it has also created an issue. When you start scrolling, the header instantly gets bigger, but when it gets smaller, the logo is still falling off the edge.