Recently, a lazy-loading helper class (and wrapper) was added to the image tag twig but unfortunately having a nested div in the picture tag, breaks responsive sources.
The solution is to move the helper classes to the picture tag itself and using conditionals, not render that div if the image is in a picture element.

See here for the full _image.twig and _picture.twig with the solution:
https://gitlab.dropsolid.com/project/dropsolidagency/-/commit/8b43e640a0...

Will be picked up in the next release.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rembrandx created an issue. See original summary.

Jolidog made their first commit to this issue’s fork.

rembrandx’s picture

rembrandx’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.