CSS classes are not generated for container

Created on 23 May 2024, 7 months ago

Problem/Motivation

After upgrade from D9 to Drupal 10.2.6 some of the CSS classes got missing from container template (_containers.twig).

Proposed resolution

Problem is, that attributes.class|keys return integer keys and not the class names. So this expression 'form-actions' in attributes.class|keys is always false.

To fix the problem, keys filter should be removed.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia trafo

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

Comments & Activities

Production build 0.71.5 2024