I added a loading screen to my website using the loading.jsx file. I have a couple of issues with it. First of all, it isn't visible for the first 0.25 seconds. Also, after it goes away I can't scroll my landing/home page. What should I do to fix it?
Here's my loading.jsx code:
export default function Loading() { return ( <div className="loading-screen" > <div className="loading-image-box" > <img src="/images/loading.gif" className="loading-image" alt="Loading Image" /> </div> </div> ) }