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

Clear generated custom cell part names while rows are loading #7447

Closed
rolfsmeds opened this issue May 24, 2024 · 0 comments · Fixed by #7469
Closed

Clear generated custom cell part names while rows are loading #7447

rolfsmeds opened this issue May 24, 2024 · 0 comments · Fixed by #7469
Assignees

Comments

@rolfsmeds
Copy link
Contributor

Description

Due to the way Grid reuses rows, custom generated cell part names are incorrectly applied to rows while they are loading. See workaround applied in docs sample: vaadin/docs#2866.

Expected outcome

Rows that are still loading should not have any custom part names applied to their cells.

Minimal reproducible example

https://vaadin.com/docs/latest/components/grid#part-name-generator

Steps to reproduce

  1. Apply part names to cells based on their contents with PartNameGenerator
  2. Scroll the Grid
  3. Observe the part name based styles incorrectly applied to rows that are still loading

Environment

Vaadin version(s): V24

Browsers

Issue is not browser related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants