Closed ExileofAranei closed 10 months ago
Hi,
Well, the idea for groupAll
option is to allow you to group every matched element regardless of the value of data-fancybox
attribute.
See this demo - https://jsfiddle.net/k796nebv/
If you want to quickly disable grouping, you can change grouping attribute to something else:
Fancybox.bind('[data-fancybox]', {
groupAttr : "non-existing-attribute"
});
Thanks for the explanation, got it. Have a nice day!
Describe the bug
Greetings, faced an issue with the
groupAll
option. Seems like it's not respected. Even if i set it tofalse
, all matched elements are still grouped until i change thegroupAttr
option directly. Am i misleading somethings? I expected settinggroupAll
tofalse
will disable the grouping behaviour completely. Maybe it works somehow differently?Reproduction
Forked your demo and set
groupAll
tofalse
https://stackblitz.com/edit/js-9nt4wh?file=index.jsAdditional context
No response