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(GRANITE-36119): Asset selection checkbox doesn't appear for all the assets in list view #209

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

Pareesh
Copy link
Collaborator

@Pareesh Pareesh commented Mar 21, 2022

Sometimes while loading the tableview, checkbox doesn't appear. This could be related to the fact that we disable the observer while loading the table template and as result the record might been dropping or the mutation might not be recorded as the observer is again set to on while body is appended. In some cases body mutation happens after the table has rendered as a result the already attached row are not correctly initialised.

Description

When handling the mutation for body, we need take into account the addition of body element and the rows it currently contains. This way we can ensure the correct initialisation of all row element.

Related Issue

GRANITE-36119

Motivation and Context

How Has This Been Tested?

Since this is a intermittent issue, we have tested it visually. The issue seems to be frequent in safari.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@Pareesh Pareesh requested a review from majornista March 22, 2022 10:23
@Pareesh Pareesh merged commit fa723c5 into adobe:master Mar 29, 2022
github-actions bot pushed a commit that referenced this pull request Mar 29, 2022
## [4.12.11](v4.12.10...v4.12.11) (2022-03-29)

### Bug Fixes

* **GRANITE-36119:** Asset selection checkbox doesn't appear for all the assets in list view ([#209](#209)) ([fa723c5](fa723c5))
@github-actions
Copy link

🎉 This PR is included in version 4.12.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants