I have a website that contains a header element with the following CSS:
position: sticky;
top: 0px;
left: 0px;
right: 0px;
z-index: 3;
In the latest Chrome on Android this element seems to disappear every time the user scrolls. It reappears when the scroll motion is done, which makes it look like the element is flickering on and off while scrolling through the page. When I simulate a Nexus 5X in desktop Chrome the same thing happens, but only when I use touch input to scroll. When I use the scroll wheel the header element stays visible the whole time. It also didn't seem to occur in older versions and it's also working fine on desktop Chrome and other browsers.
Has something recently changed about how Chrome handles position: sticky when scrolling? Is there a way to avoid this behavior?