When applying to multiple elements, the isStuck class is applied to all elements when the first element is made sticky.
I tried a header and a sidebar. Where the header should activate after scrolling past the header and the sidebar should activate when scrolling past the sidebar, but when the page loads, and you scroll past the header, the sidebar is also activated with the isStuck class making both elements show to the top. The sidebar in this case should not have the isStuck class until scrolling down more.
When applying to multiple elements, the isStuck class is applied to all elements when the first element is made sticky.
I tried a header and a sidebar. Where the header should activate after scrolling past the header and the sidebar should activate when scrolling past the sidebar, but when the page loads, and you scroll past the header, the sidebar is also activated with the isStuck class making both elements show to the top. The sidebar in this case should not have the isStuck class until scrolling down more.