Drupal 10.3 changes the sticky table class, breaking likerts for mobile.

Created on 3 July 2024, 4 months ago
Updated 12 September 2024, about 1 month ago

Problem/Motivation

Drupal core 10.3 remove the javascript for sticky table headers. Webform likerts are responsive and for mobile (narrow viewports), the duplicate sticky header HTML element was hidden with CSS. However, now that CSS hides the actual likert table.

Steps to reproduce

1. Upgrade to core 10.3 or higher
2. Create a likert with a sticky header.
3. Make the narrow window. Observe that the likert disappears.

Proposed resolution

Clearly the "display: none" CSS rule needs to be removed, but I'm not sure how to do that only for Drupal 10.3 and later. I did this in my theme because I now what version of core I'm using.

I marked this a major since the webform can not be completed on a phone or table because the likert is hidden. Argh.

See related issue and also the change notice: https://www.drupal.org/node/3440477 β†’

πŸ› Bug report
Status

Fixed

Version

6.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DanChadwick

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024