Navigate to Theme Settings > Performance > Preloader and enable it. This way, the preloader will show until the entire page is fully loaded, improving the user experience: https://ibb.co/3mgd6dr1
Yes, if you’re using WP Rocket, you should exclude the preloader script from being deferred or delayed. This will prevent the infinite loading issue while keeping the preloader working properly.