Spinner Not Showing on Opened Slider Image in Fancybox 5 #687
-
Hi everyone, I'm encountering an issue with Fancybox 5 where I try to add a loading spinner to an open image in a slider using the showLoading method. Instead of displaying the spinner, the screen goes black with no spinner visible. Has anyone faced this problem before, or does anyone have any ideas on why this might be happening? Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, Sorry, there seems to be an issue with that method. As a workaround, you can do something like this: Fancybox.getSlide().spinnerEl = null;
Fancybox.getInstance().showLoading(Fancybox.getSlide()); or simply add your own loading icon directly to the slide element (e.g., |
Beta Was this translation helpful? Give feedback.
Hi,
Sorry, there seems to be an issue with that method. As a workaround, you can do something like this:
or simply add your own loading icon directly to the slide element (e.g.,
Fancybox.getSlide().el
)