You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Maximilian Voss (Jira)" <ji...@apache.org> on 2021/04/15 10:59:00 UTC

[jira] [Created] (SLING-10308) Sling Dynamic Include - Changing the resulting DOM for JSI

Maximilian Voss created SLING-10308:
---------------------------------------

             Summary: Sling Dynamic Include - Changing the resulting DOM for JSI
                 Key: SLING-10308
                 URL: https://issues.apache.org/jira/browse/SLING-10308
             Project: Sling
          Issue Type: Bug
    Affects Versions: Dynamic Include 3.2.0
            Reporter: Maximilian Voss


Using Java Script Include will result into a different DOM as it will include a div in which the component is nested as well as a script tag next to the div.

Especially if JSI is used for container components which are relying on the underlying DOM structure this will result into issues, e.g. Slick Carousel which interprets the script tag as carousel slide.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)