Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: sbb-table sticky column gets rerendered when datasource gets updated without changes #2438

Open
3 tasks done
cgaertnerBern opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cgaertnerBern
Copy link

cgaertnerBern commented Nov 21, 2024

Preflight Checklist

Bug type

Functionality

Which version are you using

18.6.1

Operating system

Windows 10

Browser / Browser version

Chrome Version 131.0.6778.86 (Offizieller Build) (64-Bit)

Input mode

Mouse/Keyboard

Additional settings

No response

What happened?

When using the sbb-table component and having one or more sticky columns configured, those columns get repainted in browser everytime the datasource gets updated, even if there is no change in the data. This behaviour causes problems in our project because animations beeing trigered when not wanted.

Here is a demo that simulates the problem we're having: https://stackblitz.com/edit/fslunt?file=src%2Fapp%2Fsticky-table-example.ts,src%2Fapp%2Fsticky-table-example.html

In this gif the repainting from the sticky columns is shown:
CD-63777

We would expect the repaintings from the sticky columns not to be happening and the animations not being triggered.

Is it possible to fix this behaviour?

Steps to reproduce the issue

  1. Go to Demo: https://stackblitz.com/edit/fslunt?file=src%2Fapp%2Fsticky-table-example.ts,src%2Fapp%2Fsticky-table-example.html
  2. Open webcontainer page in a new window
  3. Open Chrome Developer Extension
  4. Open Rendering tab (through 'More tools' in the menu from the extension)
  5. The content being repainted is showed in green.

Relevant log output

No response

@cgaertnerBern cgaertnerBern added the bug Something isn't working label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant