By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyse site usage, and assist in our marketing efforts
These cookies enable our website and App to remember things such as your region or country, language, accessibility options and your preferences and settings.
Analytic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.
Any chance you could do a full screen recording so we can see where the scroll bar sits with the rest of the page to try and recreate this?I'm having an issue with the UKBF
$(function() {
var header = $(".p-navSticky");
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 1) {
header.addClass("is-sticky");
console.log("yes");
} else {
setTimeout(function() {
header.removeClass("is-sticky");
}, 100);
//header.removeClass("is-sticky");
}
});
});
The latter is me running the site with all javascript removed for testing, which means the icons, etc. wont render. The main issue looks like the offset gets messy at the moment, so I made it that the scroll down initiates the sticky header but only allows it back to the initial after 100ms, effectively debouncing the css.Dude, what you got running? ?
Why the site so broken on your browser, logo and menu icons and breadcrumbs all broken.
Either way one of site devs will take a look.