- Issue created by @abelass
- First commit to issue fork.
- 🇺🇸United States paul121 Spokane, WA
I am experiencing this as well. Here is my temporary fix - add
gin-table-scroll-wrapper
class in a wrapper container:// Add table wrapper for gin-table-scroll-wrapper class. $form['table-wrapper'] = [ '#type' => 'container', '#attributes' => [ 'class' => ['gin-table-scroll-wrapper'], ], 'table' => $form_table, ]; return $form;
I imagine that the patch in #2 works. But it seems likely that the
layer-wrapper
andgin-layer-wrapper
classes are used for other things, so maybe don't remove them? I think you could addgin-table-scroll-wrapper
and be just fine. - @paul121 opened merge request.
- Status changed to Needs review
over 1 year ago 6:25pm 20 April 2023 - 🇪🇸Spain abelass
@paul121, you are right of course.
As the views template didn't have other classes, I just removed them.
- First commit to issue fork.
- 🇨🇭Switzerland saschaeggi Zurich
Closing this as duplicate, as we'll include it in 🐛 Table header overflow issue for multiple user role on permissions page. Fixed
- Status changed to Closed: duplicate
over 1 year ago 9:15pm 1 May 2023 - Status changed to Active
over 1 year ago 6:29pm 8 May 2023 - Status changed to Needs review
over 1 year ago 7:23pm 8 May 2023 - 🇨🇭Switzerland saschaeggi Zurich
@paul121 I reopened this issue as 🐛 Table header overflow issue for multiple user role on permissions page. Fixed seems to take longer than expected. Please review, thanks!
- Status changed to RTBC
over 1 year ago 7:26pm 12 May 2023 - 🇺🇸United States paul121 Spokane, WA
Great, my table with
'#sticky' => TRUE
now works without my workaround described in #4. - Status changed to Fixed
over 1 year ago 7:29pm 22 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 4:36am 6 July 2023 - 🇺🇸United States uri_frazier Portland, Oregon
I still get the bug described in issue https://www.drupal.org/project/gin/issues/3338209 🐛 Sticky header triggered to early Closed: outdated (Sticky header triggered to early) even after updating to
3.0.0-rc4
. This is while using Chrome114.0.5735.198
and Firefox114.0.1
(See screenshot
gin_sticky_header_bug_screenshot.jpg
). - 🇮🇳India sahal_va
I am also getting the same issue mentioned in https://www.drupal.org/project/gin/issues/3338209 🐛 Sticky header triggered to early Closed: outdated
Issue occurs only when the table view has more number of columns. (ie. when the horizontal scroller appears)
See screenshot.
Note: Horizontal scroller div has ' --is-sticky' class
- 🇫🇷France rveillard
Hi, I confirm #19, the issue is still occurring when the horizontal scrollbar appears.
Can you please reopen this issue so it can be fixed ?
ThanksTested on rc6
- First commit to issue fork.
- 🇺🇸United States asherry
I'm still seeing this issue as well with the paragraphs report → . That module is just calling:
// Table output. $table['table'] = [ '#type' => 'table', '#title' => $this->t('Paragraphs Report'), '#header' => $tabular['header'], '#sticky' => TRUE, '#rows' => $chunks[$current_page] ?? [], '#empty' => $this->t('No components found. <br /> You may need an Admin user to enable content types on the "Settings" tab and click the "Update Report Data" button.'), ];
- 🇺🇸United States asherry
I'm still seeing this issue as well with the paragraphs report → . That module is just calling:
// Table output. $table['table'] = [ '#type' => 'table', '#title' => $this->t('Paragraphs Report'), '#header' => $tabular['header'], '#sticky' => TRUE, '#rows' => $chunks[$current_page] ?? [], '#empty' => $this->t('No components found. <br /> You may need an Admin user to enable content types on the "Settings" tab and click the "Update Report Data" button.'), ];