[CdkTable] Provide a possibility to set the top offset for the sticky header #14463
Labels
area: material/table
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P4
A relatively minor issue that is not relevant to core functions
Projects
Please describe the feature you would like to request.
I would like to have the possibility to set the top offset for the sticky header in the cdk table.
What is the use-case or motivation for this proposal?
As you can see in this stackblitz there are certain layouts that would need to have a different value set a sticky header-row / row. If you have any other element above that has position fixed or sticky you might want to change the top value that gets set by the stickyStyler.
Maybe a solution would be to provide a token for DI that can be used to set this value to something different than 0.
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: