LightBox taking too long to load

My lightbox takes about 5 seconds to load, I’ not sure if it is due to the amount of code or what’s exactly happening.

Is there any wait to either display a loading gif or making it load faster, I’ve tried setting up a timer for the spinning icon to hide but it is not that accurate, if I use async the promise is resolving before the lightBox actually load, any suggestion?

Hello Carlos,

Can you show us how the lightbox is triggered? I think this would give us some ideas on how to improve it.

Cheers

same here :3

My lightbox is triggered by clicking on icon, and yes it takes too long to load or is set at a delay. I tried to change the delay in the settings but it appears it is only the setting for automatically appearing not for when it is triggered by a link.

Closing this thread because it does not show any relation to Corvid from the information provided. Please view the Community Guidelines before making a post/commenting to receive help from forum members.