I have a sticky element with data-stick-to-bottom however when I refresh the page, it flashes at the top before sticking to the bottom.
Is there a callback or a function to check if foundation is ready?
I have a sticky element with data-stick-to-bottom however when I refresh the page, it flashes at the top before sticking to the bottom.
Is there a callback or a function to check if foundation is ready?
Solved the issue by adding:
Before calling my showBanner function.