splide icon indicating copy to clipboard operation
splide copied to clipboard

isHTMLElement returns false in grapesjs editor (in chrome/edge not in Firefox)

Open redoC-A2k opened this issue 6 months ago • 0 comments

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

4.1.4

Description

I want to make splidejs carausel plugin for grapesjs editor . But when carousel works fine in firefox , however when it doesn't works in chrome / edge . I get error - Error: [splide] A track/list element is missing.

Reproduction Link

https://codesandbox.io/p/github/redoC-A2k/grapesjs-carousel-component/main

Steps to Reproduce

(Make sure you use the chrome/edge browser)

  1. Open codesandbox
  2. Open the preview url in new tab
  3. Click on the blocks button image
  4. Drag and drop carausel from caraousel section to canvas . image
  5. open the developer console , you should get error.

Expected Behaviour

Carousel should work as expected in chrome/edge.

redoC-A2k avatar Feb 04 '24 05:02 redoC-A2k