Issue with Views Sticky Headers with Core 10.3

Created on 24 July 2024, 4 months ago

Problem/Motivation

After updating core to 10.3 and above, the Enable Drupal style "sticky" table headers views option no longer works in this theme or themes which depend on this theme.

Steps to reproduce

  1. Update to Drupal 10.3 or later
  2. Create a view with a table display
  3. Check the Enable Drupal style "sticky" table headers option

Proposed resolution

Drupal core issue 3439580 changed usage of the .sticky-enabled css class to now be .sticky-header

We should update the css classes used in views-view-table.html.twig to include both CSS classes for backwards and forwards compatibility.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇚🇊Canada mdolnik

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the “VDC” tag instead.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024