Upgrade from 2.x to 3.x broke template rendering logic.

Created on 26 March 2025, 10 days ago

Problem/Motivation

Upgrading from ^2.10 to ^3.0 resulted in a complete break in the template logic.

(yes, we upgraded / changed the slick library to 1.8.0)

No custom templates or .theme customizations.

Straight update between versions.

Across "slides", the captions are supposed to show up UNDER the image.

--

But after upgrading to 3.0, the div structure rendered from the templates, breaks, and they show up to the side...

---

In slick 2.10, we see this with the rendered html

After the upgrade, with no configuration changes, only upgrading the module, it now renders like this.

The caption and image, in the 3.0 upgrade, is now it its own "slick_slide" divs, instead of correctly being a single div since the caption is for the image...

No other config changes have been made, no template changes.

I've eyeballed the slick-slide template between versions, and they don't appear to have changed.

Is there a setting that we need to enable? In the upgrade that isn't clear?

Thank you.

Steps to reproduce

Upgrade slick and related modules from slick 2.10 to 3.0, (Yes, we've changed slick's library to 1.8)

This is how we're rendering this element, using a paragraph type, with an image field.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States alphex Atlanta, GA USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @alphex
  • 🇮🇩Indonesia gausarts

    Thank you.

    > (yes, we upgraded / changed the slick library to 1.8.0)
    Your issue had been identified for years. 1.8.0 has two misleading and conflicting versions.

    Please revisit the project home for the working version which is also covering the issue with Drupal 11.

    Alternatively stick to v1.6, the only least problematic version.

Production build 0.71.5 2024