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

fix: zero-sized element in virtualized list #2602

Merged
merged 1 commit into from Mar 13, 2024

Conversation

mstykow
Copy link
Collaborator

@mstykow mstykow commented Mar 12, 2024

Summary of changes

  • filter IDs passed as data to virtuoso for existence among attribution IDs

Context and reason for change

When you delete all attributions at once you get the following console error:
image

This happens because for a few render cycles we're still passing attribution IDs to virtuoso whose corresponding attributions have already been deleted.

How can the changes be tested

Delete all attributions at once and notice that no console error occurs.

- filter IDs passed as data to virtuoso for existence among attribution IDs

Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
@mstykow mstykow merged commit 0ef7dcc into main Mar 13, 2024
5 checks passed
@mstykow mstykow deleted the fix-zero-sized-element-in-virtualized-list branch March 13, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants