Checks
Version
v4.1.2
Description
When using splide in an iframe and while using chrome an uncaught Error appears: "[splide] A track/list element is missing." even though all track and list elements are present. I debugged and found that in splide.esm.js:66 (uncompiled: type.ts:75) the function isHTMLElemnt returns false when given the 'splide__list' element because it is a HTMLUListElement and only inherits HTMLElement. I have already found a fix by @beezital (GrapesJS/grapesjs#4062) but it was never pulled. I already have an open pull request (#932) so it would be nice if you pulled it.
Reproduction Link
No response
Steps to Reproduce
- Have an iframe
- Use splide in it
- open the website with the iframe using chrome
Expected Behaviour
It is expected to work in an iframe in chrome
Checks
Version
v4.1.2
Description
When using splide in an iframe and while using chrome an uncaught Error appears: "[splide] A track/list element is missing." even though all track and list elements are present. I debugged and found that in splide.esm.js:66 (uncompiled: type.ts:75) the function isHTMLElemnt returns false when given the 'splide__list' element because it is a HTMLUListElement and only inherits HTMLElement. I have already found a fix by @beezital (GrapesJS/grapesjs#4062) but it was never pulled. I already have an open pull request (#932) so it would be nice if you pulled it.
Reproduction Link
No response
Steps to Reproduce
Expected Behaviour
It is expected to work in an iframe in chrome