Open bradhogan opened 6 years ago
Is there any workaround like a 'loading' spinner?
Featherlight support spinners (check the doc). You can also specify a width and height for the iframe.
Please let me know what else Featherlight should/could be doing...
Hi Marc,
Specifying the width and height doesn't apply during the few seconds while the iframe is connecting.
But I did find data-featherlight-loading='any html can go here' which I'm guessing is the support for spinners? By using the appropriate html including spinning gifs as required and divs of whatever size the small white box described above can be altered as required.
It is a great library, thank you for building it.
Bug report - you can view the issue here: http://jsfiddle.net/bradhogan1983/sxwge12m/
When using the iframe option and clicking a link to open the modal, the modal opens instantly, but the iframe takes a second to load and while loading the modal container is just a small empty box. This happens on your demo as well as my local dev site. I'll also attach a screenshot of what I'm seeing on my dev site.
Thanks!