Drupal 10.3.0-rc1
php 8.3.6

Views Block - Enable Drupal style "sticky" table headers stopped working after updating to Drupal 10.3.0-rc1.

In drupal 10.3.0-beta1 everything worked fine with the same views table block settings.

Comments

pingwin_cracow created an issue. See original summary.

cilefen’s picture

Priority: Normal » Major

Can you perform a git bisect to find the regression commit?

cilefen’s picture

The release notes highlighted this: https://www.drupal.org/node/3440477

That’s certainly pertinent.

Is there custom code or contributed modules involved in reproducing the bug?

gauravvvv’s picture

pingwin_cracow’s picture

I tried to update according to the given concepts and unfortunately the sticky header table does not work.
After updating Drupal to version 10.3.0, unfortunately the table headers are still static and the sticky application does not work.

cilefen’s picture

Could you explain what you tried?

Is this reproducible on a new Drupal install?

pingwin_cracow’s picture

I tried the solution https://www.drupal.org/node/3439580
but it produced no results.
I was hoping that the stable version 10.3.0 would solve this problem, but unfortunately it didn't.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs steps to reproduce

Can you perform a git bisect to find the regression commit?

Is this reproducible on a new Drupal install? https://simplytest.me is useful for testing.

Which theme is showing the bug?

Did you do the things in https://www.drupal.org/node/3440477? Explain exactly what you did.

This is the complete list of changes between those releases:

pingwin_cracow’s picture

cilefen’s picture

What fixes? Those changes are in 10.3.

pingwin_cracow’s picture

I applied these fixes in version 10.2.7 and they did not work. After updating to 10.3.0, I did not apply any corrections and the headers in the views block still do not work correctly.
I don't really know what's going on, because in my opinion it should work in 10.3.0, because the problem was reported earlier and from what I saw, it was apparently solved.

P.S.
For information, I will add that in views I have created a block that is to display data in the form of a table. Sticky option enabled. I have tried turning the cache option on and off several times. Unfortunately, the headers are still static.
All modules updated today and compatible with Drupal 10.3.0.
The console does not show me any errors in this topic.
I'm sad about this.
If you are able to help solve the problem that would be great.
Regards.

cilefen’s picture

If you would answer the questions in comment #8 that would help toward resolving this bug.

pingwin_cracow’s picture

I only applied the fix mentioned in #8
https://www.drupal.org/node/3440477
I did not make any other corrections

cilefen’s picture

Here is what I did to try to reproduce this bug:

  • Used https://simplytest.me to install Drupal 10.3.0 with Devel module.
  • Used the Devel Generate module to create 100 nodes.
  • Verified that the built-in content view at /admin/content uses sticky headers.
  • I created a block display in the /admin/content view.
  • I placed the block into a theme region.
  • I verified that sticky headers are working in the block list view.

What other steps are needed to reproduce this bug?

cilefen’s picture

Can you explain exactly what you did with https://www.drupal.org/node/3440477? For example, which file did you edit? This information is necessary to understand this bug report rather than having an interview in comments.

pingwin_cracow’s picture

The fix https://www.drupal.org/node/3440477 is already included in version 10.3.0 - so I didn't add anything.
I tested on https://simplytest.me (Umami) with an array both in the form of a block and a page - everything works. Unfortunately not for me.

pingwin_cracow’s picture

I see now where the problem is.

1 - Clean installation of Drupal 10.3.0 + devel (I generated 50 nodes) - the table with the sticky header works correctly
2 - I installed the new Droopler 4.0.0-alpha2 profile and the generated subtheme.
3 - default Claro skin - everything works fine
4 - default subtheme skin - headers are static
5 - my subtheme does not inject the sticky-header class, hence the static header when a theme other than Claro is set.

Is there an easy way to tweak the subtheme to make this work?
If not, I suggest closing the topic and contacting the Droopler designers on how to correct it.

Thank you very much for your help so far and valuable comments on what and how to check.

cilefen’s picture

I think they would have to implement https://www.drupal.org/node/3440477.

cilefen’s picture

Project: Drupal core » Droopler
Version: 10.3.x-dev » 4.0.0-alpha3
Component: views.module » Code
Status: Postponed (maintainer needs more info) » Active
Issue tags: -Needs steps to reproduce
grzegorz.bartman’s picture

Status: Active » Closed (won't fix)

Version 4.x will be no longer developed. I'm closing this issue.