glide icon indicating copy to clipboard operation
glide copied to clipboard

Fix issue #523 - "Slider cannot be initialized in iframe"

Open jayelkaake opened this issue 2 years ago • 1 comments

How to recreate the issue

Load glide in an iframe

What I Did

I changed the exist() method to use duck-typing instead of a null check.

The work that @ericmorand did in pull request #669 did not fully solve the problem, and also sort of makes it possible to pass invalid objects, so was not a preferred solution. Thanks for leading me in the right direction though @ericmorand!

How was it tested

Loaded in iframe and out of iframe.

jayelkaake avatar Nov 09 '23 23:11 jayelkaake

Should be fixed with v3.6.2

jedrzejchalubek avatar Jul 04 '24 11:07 jedrzejchalubek