You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a view with sticky table headers: in my example, I changed the path of /views/view/content to /nodes so it will use the oe_bootstrap_theme instead of the admin theme.
Add some nodes
Make sure "Tables/Responsive" is set to "Always": /admin/appearance/settings/oe_bootstrap_theme
Visit the page /nodes:
If responsive tables are disabled, then the position of the table header is correct. But there is a visual glitch because the background of the table header is transparent:
There are two different issues to fix:
Position the table header correctly when sticky table header and responsive table are enabled
Change the background of the table header from transparent to white(?) to fix the visual glitch
table-responsive makes the table container to be scrollable horizontally and it will become the nearest ancestor that has scrolling mechanism for the sticky header. According to the documentation, an element with position sticky will only stick to the nearest ancestor with the scrolling mechanism, in this case it would be the table container rather than the window as we wanted => sticky table header is not compatible with responsive tables
The text was updated successfully, but these errors were encountered:
/views/view/content
to/nodes
so it will use the oe_bootstrap_theme instead of the admin theme./admin/appearance/settings/oe_bootstrap_theme
If responsive tables are disabled, then the position of the table header is correct. But there is a visual glitch because the background of the table header is transparent:
There are two different issues to fix:
Resources:
https://www.drupal.org/project/drupal/releases/10.3.0
https://www.drupal.org/node/3440477
https://git.drupalcode.org/project/drupal/-/commit/4609482e7298ccfaeb93ada8188ddaa1deacd2f0
The text was updated successfully, but these errors were encountered: