$w ( “#HeaderTransitionPoint” ). onViewportLeave (() => {
$w ( “#ScrollingHeaderStrip” ). show ( ‘fade’ );
$w ( “#DefaultHeaderStrip” ). hide ( ‘fade’ );
})
$w ( “#HeaderTransitionPoint” ). onViewportEnter (() => {
$w ( “#DefaultHeaderStrip” ). show ( ‘fade’ );
$w ( “#ScrollingHeaderStrip” ). hide ( ‘fade’ );
})
Works great on the desktop preview but not on the mobile preview. What am I missing?