Skip to content

Bug: Sticky columns do not render correctly #1796

Description

@sosopk

Describe the bug
We use Sticky Columns in SbbTable. When I want to filter rows, the sticky columns get rendered in a wrong way (look at attached image). This happens only if horizontal scrolling is moved (so that sticky columns appear above other columns)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Demo and run stackbliz example
  2. make page width smaller, so that the example table receives horizontal scrolling
  3. Scroll a bit on the right, to hide a small part of 'name' column under sticky 'position' column
  4. try to filter 'name' column with filter editbox
  5. after trying different filter values, the above described behaviour must be seen

Expected behavior
Sticky columns must be re-rendered correctly each time a filter is changed

Screenshots
sticky columns corrupt

Desktop (please complete the following information):

  • OS: Windows
  • Browser: chrome (108.0.5359.125) and edge
  • Version of Angular 14.0.1,
  • Version of SBB Library: 14.4.0 (but seems to be the case with v15 too)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomp: angularIssues related to @sbb-esta/angulareffort2: days

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions