I followed all the steps and it works fine, but when I enable Navigation Search in Customize> Layout> Primary Navigation, the bar doesn’t get reduced when in fixed mode when scrolling.
I don’t have cache plugin installed. I have the latest version of generatepress with flexbox.